The ServerPolicyExceptiontype exposes the following members.

Constructors

  Name Description
ServerPolicyException Overloaded.

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 () () () .)

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
A string identifying the issuer of the warning, or String.Empty if not available.
WarningCode
The warning code, if available otherwise 0.

See Also