ServerPolicyException Members
Include Protected Members
Include Inherited Members
Defines the exception to be thrown, when an operation is rejected due to server policy.
The ServerPolicyException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ServerPolicyException() | Initializes a new instance of the class. | |
ServerPolicyException(String) | Initializes a new instance of the class with a specified error message. | |
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. |
Top
Properties
Name | Description | |
---|---|---|
Data | (inherited from Exception) | |
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) | |
HelpLink | (inherited from Exception) | |
HResult | (inherited from Exception) | |
InnerException | (inherited from Exception) | |
Message | (inherited from Exception) | |
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) | |
Source | (inherited from Exception) | |
StackTrace | (inherited from Exception) | |
TargetSite | (inherited from Exception) | |
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) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetBaseException | (inherited from Exception) | |
GetHashCode | (inherited from Object) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the object. (Overrides FailureResponseException.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (inherited from Exception) | |
MemberwiseClone | (inherited from Object) | |
ToString | Returns the string representation of ServerPolicyException, which also includes Warning, WarningCode, and WarningAgent properties. (Overrides FailureResponseException.ToString().) |
Top