ExchangeServiceBinding.Unsubscribe(UnsubscribeType) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
方法 Unsubscribe(UnsubscribeType) 将请求发送到 ,并从取消订阅作返回响应。
public:
ExchangeWebServices::UnsubscribeResponseType ^ Unsubscribe(ExchangeWebServices::UnsubscribeType ^ Unsubscribe1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/Unsubscribe", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("MailboxCulture")]
[System.Web.Services.Protocols.SoapHeader("RequestServerVersionValue")]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ExchangeWebServices.UnsubscribeResponseType Unsubscribe(ExchangeWebServices.UnsubscribeType Unsubscribe1);
Public Function Unsubscribe (Unsubscribe1 As UnsubscribeType) As UnsubscribeResponseType
参数
- Unsubscribe1
- UnsubscribeType
表示要取消的订阅的 类的实例 UnsubscribeType 。
返回
方法 Unsubscribe(UnsubscribeType) 返回一个 UnsubscribeResponseType 对象,该对象包含取消订阅作的结果。
- 属性