SipEndpoint.Register Method ()

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.

Synchronously registers the current endpoint.

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

Syntax

'Declaration
Public Function Register As SipResponseData
public SipResponseData Register ()

Return Value

A SipResponseData from the server after a successful Register operation.

Exceptions

Exception type Condition
RegisterException

Thrown when the registration fails.

OperationTimeoutException

Thrown when the server does not respond to the Register request.

InvalidOperationException

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

AuthenticationException

Thrown when a general authentication-related problem occurs.

Remarks

This method waits until the Register operation is completed. It is not recommended for a UI thread.

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