C# Class Opc.Ua.ServiceMessageContextBehaviorAttribute

Inheritance: System.Attribute, IServiceBehavior
ファイルを表示 Open project: OPCFoundation/Misc-Tools

Public Methods

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

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

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.

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.

Method Details

AddBindingParameters() public method

Provides the ability to pass custom data to binding elements to support the contract implementation.
public AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, System 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 System The service endpoints.
bindingParameters System.ServiceModel.Channels.BindingParameterCollection Custom objects to which binding elements have access.
return void

ApplyDispatchBehavior() public method

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.
return void

Validate() public method

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.
return void