RealTimeException 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
RealTimeException() |
Initializes a new instance of the class. |
RealTimeException(String) |
Initializes a new instance of the class with a specified error message. |
RealTimeException(SerializationInfo, StreamingContext) |
Initializes a new instance of the class with serialized data. |
RealTimeException(String, Exception) |
Initializes a new instance of the class with a specified error message and reference to the inner exception that is the cause of this exception. |
RealTimeException()
Initializes a new instance of the class.
public:
RealTimeException();
public RealTimeException ();
Public Sub New ()
Applies to
RealTimeException(String)
Initializes a new instance of the class with a specified error message.
public:
RealTimeException(System::String ^ message);
public RealTimeException (string message);
new Microsoft.Rtc.Signaling.RealTimeException : string -> Microsoft.Rtc.Signaling.RealTimeException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
RealTimeException(SerializationInfo, StreamingContext)
Initializes a new instance of the class with serialized data.
protected:
RealTimeException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RealTimeException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Signaling.RealTimeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Signaling.RealTimeException
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
RealTimeException(String, Exception)
Initializes a new instance of the class with a specified error message and reference to the inner exception that is the cause of this exception.
public:
RealTimeException(System::String ^ message, Exception ^ innerException);
public RealTimeException (string message, Exception innerException);
new Microsoft.Rtc.Signaling.RealTimeException : string * Exception -> Microsoft.Rtc.Signaling.RealTimeException
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.