-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Activation.CommandLineActivationOperation.GetDeferral |
winrt method |
Gets a deferral object for this operation.
A Deferral object that your code uses to signal when it has finished processing the activation.
// The deferral is only needed if your processing requires async operations
using (Deferral deferral = operation.GetDeferral())
{
var parsedCommands =
ParseUntrustedArgsAsync(activationPath, cmdLineString);
...
}