RegisterException Constructors
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
| RegisterException() |
Initializes a new instance of the class. |
| RegisterException(String) |
Initializes a new instance of the class with a specified error message. |
| RegisterException(SerializationInfo, StreamingContext) |
Initializes a new instance of the class with serialized data. |
| RegisterException(String, RegistrationTransitionReason) |
Initializes a new instance of the class with a specified error message. |
| RegisterException(String, Exception) |
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. |
RegisterException()
Initializes a new instance of the class.
public:
RegisterException();
public RegisterException ();
Public Sub New ()
Applies to
RegisterException(String)
Initializes a new instance of the class with a specified error message.
public:
RegisterException(System::String ^ message);
public RegisterException (string message);
new Microsoft.Rtc.Signaling.RegisterException : string -> Microsoft.Rtc.Signaling.RegisterException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
RegisterException(SerializationInfo, StreamingContext)
Initializes a new instance of the class with serialized data.
protected:
RegisterException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RegisterException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Signaling.RegisterException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Signaling.RegisterException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The object that holds the serialized object data.
- context
- StreamingContext
The contextual information about the source or destination.
Applies to
RegisterException(String, RegistrationTransitionReason)
Initializes a new instance of the class with a specified error message.
public:
RegisterException(System::String ^ message, Microsoft::Rtc::Signaling::RegistrationTransitionReason deregisterReason);
public RegisterException (string message, Microsoft.Rtc.Signaling.RegistrationTransitionReason deregisterReason);
new Microsoft.Rtc.Signaling.RegisterException : string * Microsoft.Rtc.Signaling.RegistrationTransitionReason -> Microsoft.Rtc.Signaling.RegisterException
Public Sub New (message As String, deregisterReason As RegistrationTransitionReason)
Parameters
- message
- String
The message that describes the error.
- deregisterReason
- RegistrationTransitionReason
The reason for being unregistered. Unknown. Number of active endpoints exceed limit. User has been changed. User has been moved.
Applies to
RegisterException(String, Exception)
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
public:
RegisterException(System::String ^ message, Exception ^ innerException);
public RegisterException (string message, Exception innerException);
new Microsoft.Rtc.Signaling.RegisterException : string * Exception -> Microsoft.Rtc.Signaling.RegisterException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception.