Sdílet prostřednictvím


ExchangeServiceBinding.BeginSubscribe Method

The BeginSubscribe method is used to begin an asynchronous Subscribe call.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
Public Function BeginSubscribe ( _
    Subscribe1 As SubscribeType, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
public IAsyncResult BeginSubscribe (
    SubscribeType Subscribe1,
    AsyncCallback callback,
    Object asyncState
)
public:
IAsyncResult^ BeginSubscribe (
    SubscribeType^ Subscribe1, 
    AsyncCallback^ callback, 
    Object^ asyncState
)
public IAsyncResult BeginSubscribe (
    SubscribeType Subscribe1, 
    AsyncCallback callback, 
    Object asyncState
)
public function BeginSubscribe (
    Subscribe1 : SubscribeType, 
    callback : AsyncCallback, 
    asyncState : Object
) : IAsyncResult

Parameters

  • Subscribe1
  • callback
  • asyncState

Return Value

The BeginSubscribe method returns an IAsyncResult object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)