StreamingSubscription.BeginUnsubscribe(AsyncCallback, Object) 方法

定义

开始取消订阅的异步请求。Microsoft Exchange Web Services (EWS) 托管 API 1.2 中引入了此方法。

public:
 IAsyncResult ^ BeginUnsubscribe(AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginUnsubscribe (AsyncCallback callback, object state);
Public Function BeginUnsubscribe (callback As AsyncCallback, state As Object) As IAsyncResult

参数

callback
AsyncCallback

AsyncCallback 委托。

state
Object

一个 对象,其中包含此请求的状态信息。

返回

引用异步请求的 IAsyncResult。

适用于