Show / Hide Table of Contents

    Class NamespaceServiceBehaviorExtension

    Provides configuration extension element for the service behavior that sets specified namespace values on service, contracts, and bindings.

    Inheritance
    Object
    NamespaceServiceBehaviorExtension
    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class NamespaceServiceBehaviorExtension : BehaviorExtensionElement

    Constructors

    NamespaceServiceBehaviorExtension()

    Declaration
    public NamespaceServiceBehaviorExtension()

    Properties

    BehaviorType

    Gets the type of the configured service behavior.

    Declaration
    public override Type BehaviorType { get; }
    Property Value
    Type Description
    Type

    BindingsNamespace

    Gets or sets the target namespace of all declared bindings. Do not set this property, if you do not want to change the original binding namespaces.

    Declaration
    public string BindingsNamespace { get; set; }
    Property Value
    Type Description
    String

    ContractsNamespace

    Gets or sets the target namespace of all declared contracts (port types). Do not set this property, if you do not want to change the original contract namespaces.

    Declaration
    public string ContractsNamespace { get; set; }
    Property Value
    Type Description
    String

    Host

    Gets or sets the service host name that will be used by all endpoints including service metadata.

    Declaration
    public string Host { get; set; }
    Property Value
    Type Description
    String

    ServiceNamespace

    Gets or sets the service target namespace value. Do not set this property, if you do not want to change the original service namespace.

    Declaration
    public string ServiceNamespace { get; set; }
    Property Value
    Type Description
    String

    Methods

    CreateBehavior()

    Returns a configured instance of the service behavior.

    Declaration
    protected override object CreateBehavior()
    Returns
    Type Description
    Object

    Configured instance of the service behavior.

    Back to top Nevatech Sentinet 6.5 Online Documentation