C# Class ServiceModelContrib.SilverlightFaultBehavior

Inheritance: System.ServiceModel.Configuration.BehaviorExtensionElement, IEndpointBehavior, IServiceBehavior
Afficher le fichier Open project: kredinor/ServiceModelContrib

Méthodes publiques

Méthode Description
AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, Collection endpoints, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void

Provides the ability to pass custom data to binding elements to support the contract implementation.

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

Implement to pass 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 ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void

Provides the ability to change run-time property values or insert custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects.

ApplyDispatchBehavior ( ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher ) : void

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

Validate ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void

Provides the ability to inspect the service host and the service description to confirm that the service can run successfully.

Validate ( ServiceEndpoint endpoint ) : void

Implement to confirm that the endpoint meets some intended criteria.

Méthodes protégées

Méthode Description
CreateBehavior ( ) : object

Creates a behavior extension based on the current configuration settings.

Method Details

AddBindingParameters() public méthode

Provides the ability to pass custom data to binding elements to support the contract implementation.
public AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, Collection endpoints, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription The service description of the service.
serviceHostBase ServiceHostBase The host of the service.
endpoints Collection The service endpoints.
bindingParameters System.ServiceModel.Channels.BindingParameterCollection Custom objects to which binding elements have access.
Résultat void

AddBindingParameters() public méthode

Implement to pass data at runtime to bindings to support custom behavior.
public AddBindingParameters ( ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint to modify.
bindingParameters System.ServiceModel.Channels.BindingParameterCollection The objects that binding elements require to support the behavior.
Résultat void

ApplyClientBehavior() public méthode

Implements a modification or extension of the client across an endpoint.
public ApplyClientBehavior ( ServiceEndpoint endpoint, ClientRuntime clientRuntime ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint that is to be customized.
clientRuntime System.ServiceModel.Dispatcher.ClientRuntime The client runtime to be customized.
Résultat void

ApplyDispatchBehavior() public méthode

Provides the ability to change run-time property values or insert custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects.
public ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription The service description.
serviceHostBase ServiceHostBase The host that is currently being built.
Résultat void

ApplyDispatchBehavior() public méthode

Implements a modification or extension of the service across an endpoint.
public ApplyDispatchBehavior ( ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint that exposes the contract.
endpointDispatcher System.ServiceModel.Dispatcher.EndpointDispatcher The endpoint dispatcher to be modified or extended.
Résultat void

CreateBehavior() protected méthode

Creates a behavior extension based on the current configuration settings.
protected CreateBehavior ( ) : object
Résultat object

Validate() public méthode

Provides the ability to inspect the service host and the service description to confirm that the service can run successfully.
public Validate ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription The service description.
serviceHostBase ServiceHostBase The service host that is currently being constructed.
Résultat void

Validate() public méthode

Implement to confirm that the endpoint meets some intended criteria.
public Validate ( ServiceEndpoint endpoint ) : void
endpoint System.ServiceModel.Description.ServiceEndpoint The endpoint to validate.
Résultat void