Share via


GlobalBrokeredServiceContainer.ProfferedServiceFactory.IRemoteServiceBroker.CancelServiceRequestAsync Method

Definition

Releases resources allocated as a result of a prior call to RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) when the client cannot or will not complete the connection to the requested service.

System.Threading.Tasks.Task IRemoteServiceBroker.CancelServiceRequestAsync (Guid serviceRequestId);
abstract member Microsoft.ServiceHub.Framework.IRemoteServiceBroker.CancelServiceRequestAsync : Guid -> System.Threading.Tasks.Task
override this.Microsoft.ServiceHub.Framework.IRemoteServiceBroker.CancelServiceRequestAsync : Guid -> System.Threading.Tasks.Task
Function CancelServiceRequestAsync (serviceRequestId As Guid) As Task Implements IRemoteServiceBroker.CancelServiceRequestAsync

Parameters

serviceRequestId
Guid

The value of RequestId from the connection instructions that will not be followed.

Returns

A task representing the request to cancel.

Implements

Applies to