Share via


SipEndpoint.BeginRegister Method (AsyncCallback, Object)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Starts an asynchronous Register operation for the current endpoint.

Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in microsoft.rtc.collaboration.dll)

Syntax

'Declaration
Public Function BeginRegister ( _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
public IAsyncResult BeginRegister (
    AsyncCallback userCallback,
    Object state
)

Parameters

  • userCallback
    The method to call when the Register operation has completed.
  • state
    The application state.

Return Value

An IAsyncResult state object representing the operation.

Exceptions

Exception type Condition
InvalidOperationException

Thrown when the method is not called in the Unregistered state, or the endpoint is terminated.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

SipEndpoint Class
SipEndpoint Members
Microsoft.Rtc.Signaling Namespace