OperationFailureException Class

Definition

Defines the exception to be thrown, when an operation fails. The FailureReason property indicates the cause of operation failure.

public ref class OperationFailureException : Microsoft::Rtc::Signaling::RealTimeException
[Serializable]
public class OperationFailureException : Microsoft.Rtc.Signaling.RealTimeException
type OperationFailureException = class
    inherit RealTimeException
Public Class OperationFailureException
Inherits RealTimeException
Inheritance
OperationFailureException
Derived
Attributes
SerializableAttribute

Constructors

OperationFailureException()

Initializes a new instance of the class.

OperationFailureException(SerializationInfo, StreamingContext)

Initializes a new instance of the class from serialized data.

OperationFailureException(String)

Initializes a new instance of the class.

OperationFailureException(String, Exception)

Initializes a new instance of the class.

OperationFailureException(String, Exception, OperationFailureReason)

Initializes a new instance of the class.

Properties

DetectionStackTrace

Gets a string representation of the frames on the call stack at the time the current exception was detected. For exceptions that are transferred to application threads, this provides better diagnostic information than the stack where it was thrown.

(Inherited from RealTimeException)
FailureReason

Gets the reason for the failure.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the object.

ToString()

Returns the string representation of the exception, which also includes the FailureReason property.

Applies to