SipEndpoint.Register Method

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

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
Returns the SipResponseData from the server after a successful Register operation.

Exceptions

Exception Condition
InvalidOperationException

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

RegisterException

Thrown when the registration failed.

AuthenticationException

Thrown when a general authentication-related problem occurred.

OperationTimeoutException

Thrown when server did not respond for Register request.

See Also

Reference

SipEndpoint Class

SipEndpoint Members

Register Overload

Microsoft.Rtc.Signaling Namespace