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.
- signInAs
Type: Microsoft.Exchange.InstantMessaging.UserStateEnum
One of the UserStateEnum enumeration values indicating the presence state that the IM&P service should display for the user.
- userCallback
Type: System.AsyncCallback
The System.AsyncCallback delegate that is called when the operation is complete. The callback handler is responsible for calling the EndSignIn(IAsyncResult) method.
- 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.
See Also