This documentation is archived and is not being maintained.

ExchangeServiceBinding.BeginSubscribe Method

Visual Studio 2008

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Initiates an asynchronous Subscribe call.

Namespace:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)

public IAsyncResult BeginSubscribe(
	SubscribeType Subscribe1,
	AsyncCallback callback,
	Object asyncState
)

Parameters

Subscribe1
Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.SubscribeType

The request to subscribe to mailbox notifications.

callback
Type: System.AsyncCallback

The delegate that receives notification of the completion of the asynchronous subscribe operation.

asyncState
Type: System.Object

An object, specified by the application, that contains state information associated with the asynchronous subscribe operation.

Return Value

Type: System.IAsyncResult
The object that references the asynchronous open operation.

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5
Show: