RealTimeInvalidOperationException 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
RealTimeInvalidOperationException() |
Initializes a new instance of the class. |
RealTimeInvalidOperationException(String) |
Initializes a new instance of the class. |
RealTimeInvalidOperationException(SerializationInfo, StreamingContext) |
Initializes a new instance of the class from serialized data. |
RealTimeInvalidOperationException(String, Exception) |
Initializes a new instance of the class. |
RealTimeInvalidOperationException(String, Exception, InvalidOperationReason) |
Initializes a new instance of the class. |
RealTimeInvalidOperationException()
Initializes a new instance of the class.
public:
RealTimeInvalidOperationException();
public RealTimeInvalidOperationException ();
Public Sub New ()
Applies to
RealTimeInvalidOperationException(String)
Initializes a new instance of the class.
public:
RealTimeInvalidOperationException(System::String ^ message);
public RealTimeInvalidOperationException (string message);
new Microsoft.Rtc.Signaling.RealTimeInvalidOperationException : string -> Microsoft.Rtc.Signaling.RealTimeInvalidOperationException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
RealTimeInvalidOperationException(SerializationInfo, StreamingContext)
Initializes a new instance of the class from serialized data.
protected:
RealTimeInvalidOperationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RealTimeInvalidOperationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Signaling.RealTimeInvalidOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Signaling.RealTimeInvalidOperationException
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
RealTimeInvalidOperationException(String, Exception)
Initializes a new instance of the class.
public:
RealTimeInvalidOperationException(System::String ^ message, Exception ^ innerException);
public RealTimeInvalidOperationException (string message, Exception innerException);
new Microsoft.Rtc.Signaling.RealTimeInvalidOperationException : string * Exception -> Microsoft.Rtc.Signaling.RealTimeInvalidOperationException
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.
Applies to
RealTimeInvalidOperationException(String, Exception, InvalidOperationReason)
Initializes a new instance of the class.
public:
RealTimeInvalidOperationException(System::String ^ message, Exception ^ innerException, Microsoft::Rtc::Signaling::InvalidOperationReason failureReason);
public RealTimeInvalidOperationException (string message, Exception innerException, Microsoft.Rtc.Signaling.InvalidOperationReason failureReason);
new Microsoft.Rtc.Signaling.RealTimeInvalidOperationException : string * Exception * Microsoft.Rtc.Signaling.InvalidOperationReason -> Microsoft.Rtc.Signaling.RealTimeInvalidOperationException
Public Sub New (message As String, innerException As Exception, failureReason As InvalidOperationReason)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
- failureReason
- InvalidOperationReason
The reason for the failure of the operation.