C# Class Thinktecture.ServiceModel.MaximumFaultMessageSize

Custom EndpointBehavior for increasing the MaxFaultSize quota in the ClientRuntime.
Inheritance: IEndpointBehavior
显示文件 Open project: ChristianWeyer/Thinktecture.ServiceModel

Public Methods

Method Description
AddBindingParameters ( ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void

Passes data at runtime to bindings to support custom behavior.

ApplyClientBehavior ( ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void

Implements a modification or extension of the client across an endpoint.

ApplyDispatchBehavior ( ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher ) : void

Implements a modification or extension of the service across an endpoint.

MaximumFaultMessageSize ( int size ) : System.ServiceModel.Channels

Initializes a new instance of the MaximumFaultMessageSize class.

Validate ( ServiceEndpoint endpoint ) : void

Confirm that the endpoint meets some intended criteria.

Method Details

AddBindingParameters() public method

Passes data at runtime to bindings to support custom behavior.
public AddBindingParameters ( ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint
bindingParameters System.ServiceModel.Channels.BindingParameterCollection
return void

ApplyClientBehavior() public method

Implements a modification or extension of the client across an endpoint.
public ApplyClientBehavior ( ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint
clientRuntime System.ServiceModel.Dispatcher.ClientRuntime
return void

ApplyDispatchBehavior() public method

Implements a modification or extension of the service across an endpoint.
public ApplyDispatchBehavior ( ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint
endpointDispatcher System.ServiceModel.Dispatcher.EndpointDispatcher
return void

MaximumFaultMessageSize() public method

Initializes a new instance of the MaximumFaultMessageSize class.
public MaximumFaultMessageSize ( int size ) : System.ServiceModel.Channels
size int
return System.ServiceModel.Channels

Validate() public method

Confirm that the endpoint meets some intended criteria.
public Validate ( ServiceEndpoint endpoint ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint
return void