| FaultException Class |
Namespace: System.ServiceModel
[SerializableAttribute] public class FaultException : Exception
The FaultException type exposes the following members.
| Name | Description | |
|---|---|---|
| FaultException |
Initializes a new instance of the System.ServiceModel.FaultException class.
| |
| FaultException(String) |
Initializes a new instance of the System.ServiceModel.FaultException class
with the specified fault reason.
|
| Name | Description | |
|---|---|---|
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the runtime type of the current instance. (Inherited from Exception.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Creates and returns a string representation of the current exception. (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
| InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
| Message |
Gets the message for the exception.
(Overrides ExceptionMessage.) | |
| StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
| SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from Exception.) |