MultiplexingRelayServiceBroker.CancelServiceRequestAsync(Guid) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
释放 RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) 当客户端无法或不能完成与请求的服务的连接而分配的资源。
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
参数
返回
表示要取消的请求的任务。