SipEndpoint.Register Method (Generic IEnumerable)

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
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Public Function Register ( _
    signalingHeaders As IEnumerable(Of SignalingHeader) _
) As SipResponseData
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] 
public SipResponseData Register (
    IEnumerable<SignalingHeader> signalingHeaders
)

Parameters

  • signalingHeaders

Return Value

Returns the SipResponseData from the server after a successful Register operation.

Exceptions

Exception type Condition
RegisterException

Thrown when the registration fails.

ArgumentException

Thrown when one of the header in headers parameters is a restricted header.

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