C# Class PeteGoo.WorkflowServiceTrackingViewer.TrackingViewerBehavior

A WCF IServiceBehavior that sets up the TrackingViewerParticipant
Inheritance: IServiceBehavior
Show file Open project: PeteGoo/Workflow-Service-Tracking-Viewer

Public Methods

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

Adds Binding Parameters

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

Applied the dispatch behavior

TrackingViewerBehavior ( string profileName, bool enabled ) : System.Activities.Tracking

Constructs a new instance of the TrackingViewerBehavior

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

Validates

Private Methods

Method Description
GetProfile ( string trackingProfileName, string displayName ) : System.Activities.Tracking.TrackingProfile

Method Details

AddBindingParameters() public method

Adds Binding Parameters
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
serviceHostBase ServiceHostBase The service host
endpoints Collection
bindingParameters System.ServiceModel.Channels.BindingParameterCollection
return void

ApplyDispatchBehavior() public method

Applied the dispatch behavior
public ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void
serviceDescription System.ServiceModel.Description.ServiceDescription The service description
serviceHostBase ServiceHostBase The service host
return void

TrackingViewerBehavior() public method

Constructs a new instance of the TrackingViewerBehavior
public TrackingViewerBehavior ( string profileName, bool enabled ) : System.Activities.Tracking
profileName string The name of the defined tracking profile
enabled bool Whether the tracking behavior should be enabled
return System.Activities.Tracking

Validate() public method

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