IEndpoint.BeginQueryPresence Method
Begins an asynchronous request to retrieve the presence information for one or more other users.
Namespace: Microsoft.Exchange.InstantMessaging
Assembly: Microsoft.Exchange.InstantMessaging (in Microsoft.Exchange.InstantMessaging.dll)
Syntax
'Declaration
Function BeginQueryPresence ( _
uris As String(), _
categoryFilter As Integer, _
notifyIncrementally As Boolean, _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As IEndpoint
Dim uris As String()
Dim categoryFilter As Integer
Dim notifyIncrementally As Boolean
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginQueryPresence(uris, _
categoryFilter, notifyIncrementally, _
userCallback, state)
IAsyncResult BeginQueryPresence(
string[] uris,
int categoryFilter,
bool notifyIncrementally,
AsyncCallback userCallback,
Object state
)
Parameters
- uris
Type: []
An array of Session Initiation Protocol URIs for the user's whose presence information should be returned.
- categoryFilter
Type: System.Int32
Specifies the type of presence information to retrieve.
- notifyIncrementally
Type: System.Boolean
true to use the UserPresenceChanged event to update presence information; otherwise, false to return presence information to the callback function.
- userCallback
Type: System.AsyncCallback
The System.AsyncCallback delegate that is called when the operation is complete. The callback handler is responsible for calling the EndQueryPresence(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