PublishSubscribeException Class

Definition

Defines the exception associated with a DataSession operation error.

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

Constructors

PublishSubscribeException()

Initializes a new instance of the class.

PublishSubscribeException(SerializationInfo, StreamingContext)

Initializes a new instance of the class with serialized data.

PublishSubscribeException(String)

Initializes a new instance of the class with a specified error message.

PublishSubscribeException(String, Exception)

Initializes a new instance of the class with a specified error message, reference to the inner exception that is the cause of this exception, the response code, and response text.

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)
DiagnosticInformation

Gets the DiagnosticHeader representing the diagnostic information received as ms-diagnostics or ms-diagnostics-public header in the response. If message contains both headers then this will represent the ms-diagnostics header information.

(Inherited from FailureResponseException)
FaultCode

Returns the fault code string specified by the server in case of a 4xx response from the server; will return String.Empty if no fault code is specified.

ResponseData

Gets the response data. It can be null if the exception is thrown in the case where no response data was received.

(Inherited from FailureResponseException)
WarningInformation

Gets the list of warning headers representing the warning information received as warning header in the request.

(Inherited from FailureResponseException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

ToString()

Returns the string representation of PublishSubscribeException, which also includes the FaultCode property.

Applies to