共用方式為


GlobalBrokeredServiceContainer.ProfferedServiceFactory.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 ,不會遵循。

傳回

工作,表示要取消的要求。

實作

適用於