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
参数
返回
表示要取消的请求的任务。