Click or drag to resize

JsonFaultHandler Class

Creates an error handler for encoding errors as JSON responses.
Inheritance Hierarchy
SystemObject
  GSF.ServiceModelJsonFaultHandler

Namespace: GSF.ServiceModel
Assembly: GSF.ServiceModel (in GSF.ServiceModel.dll) Version: 2.4.218-beta
Syntax
public class JsonFaultHandler : IErrorHandler
View Source

The JsonFaultHandler type exposes the following members.

Constructors
 NameDescription
Public methodJsonFaultHandlerInitializes a new instance of the JsonFaultHandler class
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHandleError Enables error-related processing and returns a value that indicates whether the dispatcher aborts the session and the instance context in certain cases.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodProvideFault Enables the creation of a custom FaultException that is returned from an exception in the course of a service method.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also