Share via


IEndpoint.BeginSignIn Method

Begins an asynchronous request to sign in to an instant messaging and presence (IM&P) service.

Namespace:  Microsoft.Exchange.InstantMessaging
Assembly:  Microsoft.Exchange.InstantMessaging (in Microsoft.Exchange.InstantMessaging.dll)

Syntax

'Declaration
Function BeginSignIn ( _
    external As Boolean, _
    signInAs As UserStateEnum, _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As IEndpoint
Dim external As Boolean
Dim signInAs As UserStateEnum
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginSignIn(external, _
    signInAs, userCallback, state)
IAsyncResult BeginSignIn(
    bool external,
    UserStateEnum signInAs,
    AsyncCallback userCallback,
    Object state
)

Parameters

  • external
    Type: System.Boolean
    true to indicate that the IM&P service is on the Internet; otherwise, false to indicate that the IM&P service is on an Intranet.
  • state
    Type: System.Object
    Contains user state information for the requested operation.

Return Value

Type: System.IAsyncResult
An System.IAsyncResult object that references the asynchronous request.