SipEndpoint.Register Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for