C# Class Blog.Services.Implementation.Attributes.ServiceErrorBehaviourAttribute

Usage [ServiceErrorBehaviour(typeof(HttpErrorHandler))] on services Signals exceptions to the error handler (i.e. ELMAH)
Inheritance: System.Attribute, IServiceBehavior
Show file Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
AddBindingParameters ( System.ServiceModel.Description.ServiceDescription description, ServiceHostBase serviceHostBase, Collection endpoints, System.ServiceModel.Channels.BindingParameterCollection parameters ) : void
ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription description, ServiceHostBase serviceHostBase ) : void
ServiceErrorBehaviourAttribute ( Type errorHandlerType ) : System
Validate ( System.ServiceModel.Description.ServiceDescription description, ServiceHostBase serviceHostBase ) : void

Method Details

AddBindingParameters() public method

public AddBindingParameters ( System.ServiceModel.Description.ServiceDescription description, ServiceHostBase serviceHostBase, Collection endpoints, System.ServiceModel.Channels.BindingParameterCollection parameters ) : void
description System.ServiceModel.Description.ServiceDescription
serviceHostBase ServiceHostBase
endpoints Collection
parameters System.ServiceModel.Channels.BindingParameterCollection
return void

ApplyDispatchBehavior() public method

public ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription description, ServiceHostBase serviceHostBase ) : void
description System.ServiceModel.Description.ServiceDescription
serviceHostBase ServiceHostBase
return void

ServiceErrorBehaviourAttribute() public method

public ServiceErrorBehaviourAttribute ( Type errorHandlerType ) : System
errorHandlerType System.Type
return System

Validate() public method

public Validate ( System.ServiceModel.Description.ServiceDescription description, ServiceHostBase serviceHostBase ) : void
description System.ServiceModel.Description.ServiceDescription
serviceHostBase ServiceHostBase
return void