Click or drag to resize
FaultDescription Class
Contains fault and error information intended for WCF/SOAP communication.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.CoreFaultDescription

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public class FaultDescription

The FaultDescription type exposes the following members.

Constructors
  NameDescription
Public methodFaultDescription(Exception)
Initializes a new instance of the FaultDescription class from a system exception.
Public methodFaultDescription(ErrorCode)
Instantiates a new object and initializes it with the specified error code. The error message is retrieved from the resources, and the error status is set to Error.
Public methodFaultDescription(ErrorCode, FaultStatus)
Instantiates a new object and initializes it with the specified error code, error status, and empty error data. The error message is retrieved from the resources.
Public methodFaultDescription(ErrorCode, String)
Instantiates a new object and initializes it with the specified error code and data. The error message is retrieved from the resources, and the error status is set to Error.
Public methodFaultDescription(ErrorCode, FaultStatus, String)
Initializes the object with the specified error code, error status, and additional error data. The error message is retrieved from the resources.
Top
Properties
  NameDescription
Public propertyData
Gets any additional data relevant for the fault.
Public propertyErrorCode
Gets the error code associated with the fault.
Public propertyMessage
Gets the error message.
Public propertyStatus
Gets the fault status.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetDescriptionFromErrorCode
Retrieves a localized error message (which may include Format(String, Object) placeholders) for the provided error code.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments