RemoteServiceBroker.OfferLocalServiceHostAsync(CancellationToken) Method

Definition

Offers the local environment as a host for services proffered by the remote service broker when they can be activated locally.

public System.Threading.Tasks.Task OfferLocalServiceHostAsync (System.Threading.CancellationToken cancellationToken = default);
member this.OfferLocalServiceHostAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OfferLocalServiceHostAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

A cancellation token.

Returns

A task that completes after the service broker has acknowledged the local service host.

Applies to