Udostępnij za pośrednictwem


ProvisionApplicationTypeDescriptionBase.Async Property

Definition

Gets or sets the flag indicating whether provisioning should occur asynchronously.

public bool Async { get; set; }
member this.Async : bool with get, set
Public Property Async As Boolean

Property Value

If this flag is false, then the behavior is equivalent to calling ProvisionApplicationAsync(String, TimeSpan, CancellationToken). The timeout argument is applied to the provision operation itself and the returned task completes only when the provision operation completes in the system.

If this flag is true, then the timeout argument is only applied to message delivery and the returned task completes once the system has accepted the request. The system will process the provision operation without any timeout limit and its state can be queried using GetApplicationTypeListAsync(). The pending provision operation can be interrupted using UnprovisionApplicationAsync(String, String).

Applies to