IpcRelayServiceBroker.CancelServiceRequestAsync(Guid) 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.
public:
virtual System::Threading::Tasks::Task ^ CancelServiceRequestAsync(Guid serviceRequestId);
public System.Threading.Tasks.Task CancelServiceRequestAsync (Guid serviceRequestId);
abstract member CancelServiceRequestAsync : Guid -> System.Threading.Tasks.Task
override this.CancelServiceRequestAsync : Guid -> System.Threading.Tasks.Task
Public Function CancelServiceRequestAsync (serviceRequestId As Guid) As Task
Parameters
- serviceRequestId
- Guid
The value of RequestId from the connection instructions that will not be followed.
Returns
A task representing the request to cancel.