Share via


IEndpoint.BeginPublishSelfState Method

Begins an asynchronous request to set the state for the endpoint user.

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

Syntax

'Declaration
Function BeginPublishSelfState ( _
    type As UserStateEnum, _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As IEndpoint
Dim type As UserStateEnum
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginPublishSelfState(type, _
    userCallback, state)
IAsyncResult BeginPublishSelfState(
    UserStateEnum type,
    AsyncCallback userCallback,
    Object state
)

Parameters

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