GlobalBrokeredServiceContainer.View.CancelServiceRequestAsync(Guid) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
釋放在客戶端無法或未完成與所要求服務連線時,於先前呼叫 RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) 時所配置的資源。
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
參數
傳回
代表取消要求的工作。