Share via


IEndpoint.BeginPublishMouseKeyboardActivity Method

Begins an asynchronous request to publish mouse and keyboard activity by the user.

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

Syntax

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

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

Remarks

BeginPublishMouseKeyboardActivity(AsyncCallback, Object) method begins an asynchronous request to publish the mouse and keyboard activity of the user. When activity is detected on an endpoint that is not the most active endpoint, this method sets the machine state for the current endpoint and indicates that the user is online and active.