Share via


Register Method

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
'Usage
Dim instance As SipEndpoint
Dim returnValue As SipResponseData

returnValue = instance.Register()
public SipResponseData Register()

Return Value

Type: Microsoft.Rtc.Signaling..::..SipResponseData
A [SipResponseData] from the server after a successful Register operation.

Exceptions

Exception 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.

See Also

Reference

SipEndpoint Class

SipEndpoint Members

Register Overload

Microsoft.Rtc.Signaling Namespace