OperationFailureException Constructor (String, Exception, OperationFailureReason)
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 OperationFailureReason _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim failureReason As OperationFailureReason
Dim instance As New OperationFailureException(message, _
innerException, failureReason)
public OperationFailureException(
string message,
Exception innerException,
OperationFailureReason 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.
- failureReason
Type: Microsoft.Rtc.Signaling.OperationFailureReason
The reason for the failure of the operation.
See Also
Reference
OperationFailureException Class
OperationFailureException Members