Search Results for

    Show / Hide Table of Contents

    Class ServiceConfiguration

    Defines the active configuration of the service version hosted on specific node.

    Inheritance
    object
    ServiceConfiguration
    Implements
    IExtensibleDataObject
    IExtension<ServiceHostBase>
    IValidator
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
    [SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable")]
    public sealed class ServiceConfiguration : IExtensibleDataObject, IExtension<ServiceHostBase>, IValidator

    Constructors

    ServiceConfiguration()

    Declaration
    public ServiceConfiguration()

    Properties

    AuthorizationRules

    Gets collection of the authorization rule assignments for current service version.

    Declaration
    [DataMember]
    public Collection<AuthorizationRuleAssignment> AuthorizationRules { get; }
    Property Value
    Type Description
    Collection<AuthorizationRuleAssignment>

    BaseAddress

    Gets or sets the relative base address associated with all inbound endpoints.

    Declaration
    [DataMember]
    public string BaseAddress { get; set; }
    Property Value
    Type Description
    string

    ErrorMessage

    Gets the summary of validation errors populated by the call to Validate() method.

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    string

    ExtensionData

    Gets or sets ExtensionDataObject that enables serialization round-trips.

    Declaration
    public ExtensionDataObject ExtensionData { get; set; }
    Property Value
    Type Description
    ExtensionDataObject

    Files

    Gets collection of the files (without content) used by the service version.

    Declaration
    [DataMember]
    public Collection<File> Files { get; }
    Property Value
    Type Description
    Collection<File>

    Id

    Gets or sets the service version id associated with the configuration.

    Declaration
    [DataMember(Name = "ServiceVersionId")]
    public int Id { get; set; }
    Property Value
    Type Description
    int

    InboundEndpoints

    Gets collection of the inbound endpoints.

    Declaration
    [DataMember]
    public Collection<RoutingEndpointDefinition> InboundEndpoints { get; }
    Property Value
    Type Description
    Collection<RoutingEndpointDefinition>

    InboundRequests

    Gets collection of the inbound request messages.

    Declaration
    [DataMember]
    public Collection<InboundRequestMessageDefinition> InboundRequests { get; }
    Property Value
    Type Description
    Collection<InboundRequestMessageDefinition>

    IsAccessKeyRequired

    Gets or sets flag indicating that service requires an access key (API key) to be provided by the caller. Such service can only be used in a product that requires subscriptions. If set to false then service can be used in a product that does not require subscriptions or as a stand-alone service. This property applies to virtual service only.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public bool IsAccessKeyRequired { get; set; }
    Property Value
    Type Description
    bool

    IsMulticast

    Gets flag indicating that service is working in multicast mode.

    Declaration
    public bool IsMulticast { get; }
    Property Value
    Type Description
    bool

    Key

    Gets or sets the service version key associated with the configuration.

    Declaration
    [DataMember]
    public Guid Key { get; set; }
    Property Value
    Type Description
    Guid

    Kind

    Gets the effective service kind: SOAP, REST, or OData.

    Declaration
    public ServiceKind Kind { get; }
    Property Value
    Type Description
    ServiceKind

    LastUpdated

    Gets or sets the last updated date and time.

    Declaration
    [DataMember]
    public DateTime LastUpdated { get; set; }
    Property Value
    Type Description
    DateTime

    MessageProcessing

    Gets or sets the message processing pipeline configuration.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public MessagePipeline MessageProcessing { get; set; }
    Property Value
    Type Description
    MessagePipeline

    NodeId

    Gets or sets the node id that hosts this virtual service.

    Declaration
    [DataMember]
    public int NodeId { get; set; }
    Property Value
    Type Description
    int

    OutboundEndpointGroups

    Gets collection of the outbound endpoint groups.

    Declaration
    [DataMember]
    public Collection<EndpointGroupDefinition> OutboundEndpointGroups { get; }
    Property Value
    Type Description
    Collection<EndpointGroupDefinition>

    ServiceBehavior

    Gets or sets the service behavior configuration.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public Behavior ServiceBehavior { get; set; }
    Property Value
    Type Description
    Behavior

    Settings

    Gets or sets service version advanced configuration settings.

    Declaration
    [DataMember]
    public ServiceVersionSettings Settings { get; set; }
    Property Value
    Type Description
    ServiceVersionSettings

    Methods

    Attach(ServiceHostBase)

    Enables an extension object to find out when it has been aggregated. Called when the extension is added to the IExtensibleObject{T}.Extensions property.

    Declaration
    public void Attach(ServiceHostBase owner)
    Parameters
    Type Name Description
    ServiceHostBase owner

    The ServiceHostBase that aggregates this extension.

    Detach(ServiceHostBase)

    Enables an extension object to find out when it is not longer aggregated. Called when the extension is removed from the IExtensibleObject{T}.Extensions property.

    Declaration
    public void Detach(ServiceHostBase owner)
    Parameters
    Type Name Description
    ServiceHostBase owner

    The ServiceHostBase that aggregates this extension.

    Validate()

    Evaluates the state of this object.

    Declaration
    public bool Validate()
    Returns
    Type Description
    bool

    True if state is valid; otherwise, false.

    Implements

    IExtensibleDataObject
    IExtension<T>
    IValidator
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation