GlobalBrokeredServiceContainer.ProfferedServiceFactory.IRemoteServiceBroker.CancelServiceRequestAsync 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.
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.