Show / Hide Table of Contents

    Class GetOperationContextServiceBehavior

    Provides the capability to get the Copper message headers from the WCF message headers and make them available to the contract implementation.

    Inheritance
    System.Object
    GetOperationContextServiceBehavior
    Namespace: Copper.Wcf
    Assembly: Copper.Wcf.dll
    Syntax
    public class GetOperationContextServiceBehavior : IServiceBehavior

    Methods

    View Source

    AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)

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

    Declaration
    public void AddBindingParameters(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, Collection<ServiceEndpoint> endpoints, BindingParameterCollection bindingParameters)
    Parameters
    Type Name Description
    ServiceDescription serviceDescription

    The service description of the service.

    ServiceHostBase serviceHostBase

    The host of the service.

    System.Collections.ObjectModel.Collection<ServiceEndpoint> endpoints

    The service endpoints.

    BindingParameterCollection bindingParameters

    Custom objects to which binding elements have access.

    View Source

    ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)

    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.

    Declaration
    public void ApplyDispatchBehavior(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase)
    Parameters
    Type Name Description
    ServiceDescription serviceDescription

    The service description.

    ServiceHostBase serviceHostBase

    The host that is currently being built.

    View Source

    Validate(ServiceDescription, ServiceHostBase)

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

    Declaration
    public void Validate(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase)
    Parameters
    Type Name Description
    ServiceDescription serviceDescription

    The service description.

    ServiceHostBase serviceHostBase

    The service host that is currently being constructed.

    • View Source
    Back to top Generated by DocFX