ServerPolicyException Class
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.
Defines the exception to be thrown, when an operation is rejected due to server policy.
public ref class ServerPolicyException : Microsoft::Rtc::Signaling::FailureResponseException
[Serializable]
public class ServerPolicyException : Microsoft.Rtc.Signaling.FailureResponseException
type ServerPolicyException = class
inherit FailureResponseException
Public Class ServerPolicyException
Inherits FailureResponseException
- Inheritance
- Attributes
-
SerializableAttribute
Constructors
ServerPolicyException() |
Initializes a new instance of the class. |
ServerPolicyException(SerializationInfo, StreamingContext) |
Initializes a new instance of the class with serialized data. |
ServerPolicyException(String, Exception) |
Initializes a new instance of the class with a specified error message and reference to the inner exception that is the cause of this exception. |
ServerPolicyException(String) |
Initializes a new instance of the class with a specified error message. |
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) |
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) |
Warning |
Gets the warning message, if available. It will be an empty string if no warning message is available. |
WarningAgent |
Gets a string identifying the issuer of the warning, or String.Empty if not available. |
WarningCode |
Gets the warning code, if available otherwise 0. |
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 ServerPolicyException, which also includes Warning, WarningCode, and WarningAgent properties. |