TargetFileRequest.GetDeferral Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a TargetFileRequestDeferral that the app providing the save location can use to respond asynchronously to a TargetFileRequested event.
public:
virtual TargetFileRequestDeferral ^ GetDeferral() = GetDeferral;
TargetFileRequestDeferral GetDeferral();
public TargetFileRequestDeferral GetDeferral();
function getDeferral()
Public Function GetDeferral () As TargetFileRequestDeferral
Returns
The TargetFileRequestDeferral that the providing app can use asynchronously to indicate that it is finished responding to a TargetFileRequested event.
Remarks
Use this method to finish responding to a TargetFileRequest event asynchronously. If this method is not called, the request is considered complete after the TargetFileRequested event handler returns— regardless of outstanding asynchronous operations.
To signal that your app has finished its asynchronous response to the TargetFileRequested event, call the TargetFileRequestDeferral.complete method.
Learn more about responding asynchronously to a TargetFileRequested event in TargetFileRequestedEventArgs.