The ServerPolicyExceptiontype exposes the following members.


  Name Description
ServerPolicyException Overloaded.


  Name Description
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetBaseException (Inherited from Exception.)
GetHashCode (Inherited from Object.)
Populates a SerializationInfo with the data needed to serialize the object.
(Overrides FailureResponseException . . :: . GetObjectData(SerializationInfo, StreamingContext).)
GetType (Inherited from Exception.)
MemberwiseClone (Inherited from Object.)
Returns the string representation of ServerPolicyException, which also includes Warning, WarningCode, and WarningAgent properties.
(Overrides FailureResponseException . . :: . ToString () () () .)


  Name Description
Data (Inherited from Exception.)
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.)
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.)
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.)
Gets the warning message, if available. It will be an empty string if no warning message is available.
A string identifying the issuer of the warning, or String.Empty if not available.
The warning code, if available otherwise 0.

See Also