Edit

Share via


SipEndpoint.Register Method

Definition

Overloads

Register()

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

Register(IEnumerable<SignalingHeader>)

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

Register()

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

public:
 Microsoft::Rtc::Signaling::SipResponseData ^ Register();
public Microsoft.Rtc.Signaling.SipResponseData Register ();
member this.Register : unit -> Microsoft.Rtc.Signaling.SipResponseData
Public Function Register () As SipResponseData

Returns

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

Exceptions

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

Thrown when the registration failed.

Thrown when a general authentication-related problem occurred.

Thrown when server did not respond for Register request.

Applies to

Register(IEnumerable<SignalingHeader>)

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

public:
 Microsoft::Rtc::Signaling::SipResponseData ^ Register(System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders);
public Microsoft.Rtc.Signaling.SipResponseData Register (System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders);
member this.Register : seq<Microsoft.Rtc.Signaling.SignalingHeader> -> Microsoft.Rtc.Signaling.SipResponseData
Public Function Register (signalingHeaders As IEnumerable(Of SignalingHeader)) As SipResponseData

Parameters

signalingHeaders
IEnumerable<SignalingHeader>

Collection of signaling headers to be included with the Register request. Can be null.

Returns

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

Exceptions

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

Thrown when the registration failed.

Thrown when a general authentication-related problem occurred.

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

Applies to