PersistentChatUserServices.BeginGetUser(Uri, AsyncCallback, Object) Method

Definition

Gets the PersistentChatUser for the given SIP URI.

public:
 IAsyncResult ^ BeginGetUser(Uri ^ sipUri, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginGetUser (Uri sipUri, AsyncCallback userCallback, object state);
member this.BeginGetUser : Uri * AsyncCallback * obj -> IAsyncResult
Public Function BeginGetUser (sipUri As Uri, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

sipUri
Uri

The SIP URI of the user to retreive.

userCallback
AsyncCallback

The method to be invoked when this asynchronous operation completes.

state
Object

An object to be passed back to the callback.

Returns

An IAsyncResult that references this operation.

Exceptions

sipUri is null.

sipUri is not a valid SIP URI.

The chat server connection is not in a valid state to send the command.

The PersistentChatEndpoint encountered an error communicating with the chat server.

Remarks

This request will be processed asynchronously. Call EndGetUser(IAsyncResult) to complete this asynchronous operation.

Applies to