Defines the exception thrown when an operation is rejected because of server policy.

The following tables list the members exposed by the ServerPolicyException type.

Public Constructors (see also Protected Constructors )

  Name Description
ServerPolicyException Overloaded. Initializes a new instance of the class.

Protected Constructors

  Name Description
ServerPolicyException Overloaded.  

Public Properties (see also Protected Properties )

  Name Description
Data  (inherited from Exception )
DetectionStackTrace  Gets a string representation of the call stack at the time of the current exception.(inherited from RealTimeException)
DiagnosticInformation  Gets the DiagnosticHeader in the response.(inherited from FailureResponseException)
HelpLink  (inherited from Exception )
InnerException  (inherited from Exception )
Message  (inherited from Exception )
ResponseData  Gets the response data. (inherited from FailureResponseException)
Source  (inherited from Exception )
StackTrace  (inherited from Exception )
TargetSite  (inherited from Exception )
Warning Gets or sets a warning message.
WarningAgent Gets or sets the issuer of the warning.
WarningCode Gets or sets the warning code.

Protected Properties

  Name Description
HResult  (inherited from Exception )

Public Methods (see also Protected Methods )

  Name Description
Equals  Overloaded. (inherited from Object )
GetBaseException  (inherited from Exception )
GetHashCode  (inherited from Object )
GetObjectData Overridden. Populates a SerializationInfo with the data needed to serialize the object.
GetType  (inherited from Exception )
ReferenceEquals  (inherited from Object )
ToString Overridden. Returns a string representation of the object.

Protected Methods

  Name Description
Finalize  (inherited from Object )
MemberwiseClone  (inherited from Object )

See Also