Search Results for

    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
    ConfigurationElement
    ServiceModelConfigurationElement
    ServiceModelExtensionElement
    BehaviorExtensionElement
    NamespaceServiceBehaviorExtension
    Inherited Members
    ServiceModelExtensionElement.CopyFrom(ServiceModelExtensionElement)
    ServiceModelExtensionElement.ConfigurationElementName
    ConfigurationElement.IsReadOnly()
    ConfigurationElement.Equals(object)
    ConfigurationElement.GetHashCode()
    ConfigurationElement.LockAttributes
    ConfigurationElement.LockAllAttributesExcept
    ConfigurationElement.LockElements
    ConfigurationElement.LockAllElementsExcept
    ConfigurationElement.LockItem
    ConfigurationElement.ElementInformation
    ConfigurationElement.CurrentConfiguration
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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
    Overrides
    BehaviorExtensionElement.BehaviorType

    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
    [ConfigurationProperty("bindingsNamespace", IsRequired = false)]
    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
    [ConfigurationProperty("contractsNamespace", IsRequired = false)]
    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
    [ConfigurationProperty("host", IsRequired = false)]
    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
    [ConfigurationProperty("serviceNamespace", IsRequired = false)]
    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.

    Overrides
    BehaviorExtensionElement.CreateBehavior()
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation