Share via


RealTimeInvalidOperationException Constructor (String, Exception, InvalidOperationReason)

Initializes a new instance of the class.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    failureReason As InvalidOperationReason _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim failureReason As InvalidOperationReason

Dim instance As New RealTimeInvalidOperationException(message, _
    innerException, failureReason)
public RealTimeInvalidOperationException(
    string message,
    Exception innerException,
    InvalidOperationReason failureReason
)

Parameters

  • message
    Type: System.String
    The error message that explains the reason for the exception.
  • innerException
    Type: System.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.

See Also

Reference

RealTimeInvalidOperationException Class

RealTimeInvalidOperationException Members

RealTimeInvalidOperationException Overload

Microsoft.Rtc.Signaling Namespace