Share via


IEndpoint.BeginPublishMachineState Method

Begins an asynchronous request to set the machine state for the most active device used by the user.

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

Syntax

'Declaration
Function BeginPublishMachineState ( _
    machineState As MachineStateEnum, _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As IEndpoint
Dim machineState As MachineStateEnum
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginPublishMachineState(machineState, _
    userCallback, state)
IAsyncResult BeginPublishMachineState(
    MachineStateEnum machineState,
    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.