ExchangeServiceBinding.BeginSubscribe Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

Syntax

'Declaration
Public Function BeginSubscribe ( _
    Subscribe1 As SubscribeType, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim Subscribe1 As SubscribeType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginSubscribe(Subscribe1, _
    callback, asyncState)
public IAsyncResult BeginSubscribe(
    SubscribeType Subscribe1,
    AsyncCallback callback,
    Object asyncState
)
public:
IAsyncResult^ BeginSubscribe(
    SubscribeType^ Subscribe1, 
    AsyncCallback^ callback, 
    Object^ asyncState
)
member BeginSubscribe : 
        Subscribe1:SubscribeType * 
        callback:AsyncCallback * 
        asyncState:Object -> IAsyncResult 

Parameters

  • 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.

.NET Framework Security

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace