ServiceRegistration.LoadProfferingPackageAsync(CancellationToken) 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.
Triggers the call to Proffer(ServiceRpcDescriptor, BrokeredServiceFactory) the service represented by this registration if the service has not yet been proffered.
protected public:
virtual System::Threading::Tasks::Task ^ LoadProfferingPackageAsync(System::Threading::CancellationToken cancellationToken);
protected internal virtual System.Threading.Tasks.Task LoadProfferingPackageAsync (System.Threading.CancellationToken cancellationToken);
abstract member LoadProfferingPackageAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.LoadProfferingPackageAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Friend Overridable Function LoadProfferingPackageAsync (cancellationToken As CancellationToken) As Task
Parameters
- cancellationToken
- CancellationToken
A cancellation token.
Returns
A task that tracks the async operation.