Click or drag to resize

JsonFaultWebHttpBehavior Class

Extends WebHttpBehavior for JSON error handling.
Inheritance Hierarchy
SystemObject
  System.ServiceModel.DescriptionWebHttpBehavior
    GSF.ServiceModelJsonFaultWebHttpBehavior

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

The JsonFaultWebHttpBehavior type exposes the following members.

Constructors
 NameDescription
Public methodJsonFaultWebHttpBehaviorInitializes a new instance of the JsonFaultWebHttpBehavior class
Top
Properties
 NameDescription
Public propertyAutomaticFormatSelectionEnabledGets or sets a value that determines if automatic format selection is enabled.
(Inherited from WebHttpBehavior)
Public propertyDefaultBodyStyleGets and sets the default message body style.
(Inherited from WebHttpBehavior)
Public propertyDefaultOutgoingRequestFormatGets and sets the default outgoing request format.
(Inherited from WebHttpBehavior)
Public propertyDefaultOutgoingResponseFormatGets and sets the default outgoing response format.
(Inherited from WebHttpBehavior)
Public propertyFaultExceptionEnabledGets or sets the flag that specifies whether a FaultException is generated when an internal server error (HTTP status code: 500) occurs.
(Inherited from WebHttpBehavior)
Public propertyHelpEnabledGets or sets a value that determines if the WCF Help page is enabled.
(Inherited from WebHttpBehavior)
Protected propertyJavascriptCallbackParameterNameGets or sets the JavaScript callback parameter name.
(Inherited from WebHttpBehavior)
Top
Methods
 NameDescription
Public methodAddBindingParametersImplements the AddBindingParameters(ServiceEndpoint, BindingParameterCollection) method to pass data at runtime to bindings to support custom behavior.
(Inherited from WebHttpBehavior)
Protected methodAddClientErrorInspectorAdds a client error inspector to the specified service endpoint.
(Inherited from WebHttpBehavior)
Protected methodAddServerErrorHandlers Override this method to change the way errors that occur on the service are handled.
(Overrides WebHttpBehaviorAddServerErrorHandlers(ServiceEndpoint, EndpointDispatcher))
Public methodApplyClientBehaviorImplements the ApplyClientBehavior(ServiceEndpoint, ClientRuntime) method to support modification or extension of the client across an endpoint.
(Inherited from WebHttpBehavior)
Public methodApplyDispatchBehaviorImplements the ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) method to support modification or extension of the client across an endpoint.
(Inherited from WebHttpBehavior)
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)
Protected methodGetOperationSelectorCreates a new WebHttpDispatchOperationSelector object.
(Inherited from WebHttpBehavior)
Protected methodGetQueryStringConverterGets the query string converter.
(Inherited from WebHttpBehavior)
Protected methodGetReplyClientFormatterGets the reply formatter on the client for the specified endpoint and service operation.
(Inherited from WebHttpBehavior)
Protected methodGetReplyDispatchFormatterGets the reply formatter on the service for the specified endpoint and service operation.
(Inherited from WebHttpBehavior)
Protected methodGetRequestClientFormatterGets the request formatter on the client for the specified service operation and endpoint.
(Inherited from WebHttpBehavior)
Protected methodGetRequestDispatchFormatterGets the request formatter on the service for the given service operation and service endpoint.
(Inherited from WebHttpBehavior)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodValidateConfirms that the endpoint meets the requirements for the Web programming model.
(Inherited from WebHttpBehavior)
Protected methodValidateBindingEnsures the binding is valid for use with the WCF Web Programming Model.
(Inherited from WebHttpBehavior)
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