Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 766 Bytes

commandlineactivationoperation_getdeferral_254836512.md

File metadata and controls

32 lines (24 loc) · 766 Bytes
-api-id -api-type
M:Windows.ApplicationModel.Activation.CommandLineActivationOperation.GetDeferral
winrt method

Windows.ApplicationModel.Activation.CommandLineActivationOperation.GetDeferral

-description

Gets a deferral object for this operation.

-returns

A Deferral object that your code uses to signal when it has finished processing the activation.

-remarks

-see-also

-examples

// The deferral is only needed if your processing requires async operations
using (Deferral deferral = operation.GetDeferral())
{
	var parsedCommands =
				ParseUntrustedArgsAsync(activationPath, cmdLineString);
    ...
}