共用方式為


GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker.IRemoteServiceBroker.CancelServiceRequestAsync 方法

定義

釋放在客戶端無法或未完成與所要求服務連線時,於先前呼叫 RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) 時所配置的資源。

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

參數

serviceRequestId
Guid

未遵循之連線指示中的 值 RequestId

傳回

代表取消要求的工作。

實作

適用於