Show / Hide Table of Contents

    Class ServiceVersionDefinition

    Represents a service version definition. This class is a part of service definition structure used for creating or updating service version with single service call.

    Inheritance
    Object
    DomainObjectBase
    ServiceVersion
    ServiceVersionDefinition
    Implements
    IValidator
    IExtensibleDataObject
    IEquatable<ServiceVersion>
    Inherited Members
    ServiceVersion.Validate()
    ServiceVersion.Validate(Boolean, Boolean)
    ServiceVersion.Equals(ServiceVersion)
    ServiceVersion.Equals(Object)
    ServiceVersion.GetHashCode()
    ServiceVersion.ToString()
    ServiceVersion.ObjectType
    ServiceVersion.ServiceId
    ServiceVersion.Version
    ServiceVersion.VersionNumber
    ServiceVersion.FriendlyName
    ServiceVersion.FullName
    ServiceVersion.Description
    ServiceVersion.Name
    ServiceVersion.Namespace
    ServiceVersion.QName
    ServiceVersion.Status
    ServiceVersion.IsEnabled
    ServiceVersion.LastUpdate
    ServiceVersion.BaseAddress
    ServiceVersion.BehaviorId
    ServiceVersion.Settings
    ServiceVersion.MessageProcessing
    ServiceVersion.IsHostable
    ServiceVersion.IsSchemaFirst
    ServiceVersion.IsAccessKeyRequired
    DomainObjectBase.IsValidElementName(String)
    DomainObjectBase.AreEqual(Nullable<DateTime>, Nullable<DateTime>)
    DomainObjectBase.Equals(DomainObjectBase)
    DomainObjectBase.Id
    DomainObjectBase.Key
    DomainObjectBase.Created
    DomainObjectBase.Updated
    DomainObjectBase.IsMajorObject
    DomainObjectBase.ErrorMessage
    DomainObjectBase.ExtensionData
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class ServiceVersionDefinition : ServiceVersion, IValidator, IExtensibleDataObject, IEquatable<ServiceVersion>

    Constructors

    ServiceVersionDefinition()

    Instantiates an empty service version definition.

    Declaration
    public ServiceVersionDefinition()

    ServiceVersionDefinition(ServiceVersion)

    Initializes new instance from provided service version.

    Declaration
    public ServiceVersionDefinition(ServiceVersion serviceVersion)
    Parameters
    Type Name Description
    ServiceVersion serviceVersion

    Service version to be initialized from.

    Properties

    Behavior

    Gets or sets the properties of the service behavior that will be used with this endpoint. Used only if BehaviorId property is not set.

    Declaration
    public Behavior Behavior { get; set; }
    Property Value
    Type Description
    Behavior

    Contracts

    Gets collection of the service contracts.

    Declaration
    public Collection<ContractDefinition> Contracts { get; }
    Property Value
    Type Description
    Collection<ContractDefinition>

    EndpointGroups

    Gets collection of the outbound endpoint groups.

    Declaration
    public Collection<EndpointGroupDefinition> EndpointGroups { get; }
    Property Value
    Type Description
    Collection<EndpointGroupDefinition>

    IsPopulated

    Gets or sets a flag indicating that service version properties are populated.

    Declaration
    public bool IsPopulated { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    For "create" operations this property must be True. For "update" and "delete" operations only entity identifier is required. If entity is not populated then "update" operation on the entity properties is not performed, but children entities are processed as usual.

    Nodes

    Gets collection of nodes hosting service version endpoints. This property applies to virtual services only.

    Declaration
    public Collection<NodeDefinition> Nodes { get; }
    Property Value
    Type Description
    Collection<NodeDefinition>

    Properties

    Gets collection of general properties assigned to the service version.

    Declaration
    public Collection<Property> Properties { get; }
    Property Value
    Type Description
    Collection<Property>

    References

    Gets collection of declarative references, dependencies, or links between this service version and other entities.

    Declaration
    public Collection<EntityReference> References { get; }
    Property Value
    Type Description
    Collection<EntityReference>

    Methods

    CopyFrom(ServiceVersion)

    Populates current instance from provided service version.

    Declaration
    public void CopyFrom(ServiceVersion serviceVersion)
    Parameters
    Type Name Description
    ServiceVersion serviceVersion

    Service version to be initialized from.

    RefreshFrom(ServiceVersionDefinition, Boolean)

    Updates this service version and all underlying objects from the provided service version by copying the non-key properties.

    Declaration
    public void RefreshFrom(ServiceVersionDefinition serviceVersion, bool protectExistingEndpoints)
    Parameters
    Type Name Description
    ServiceVersionDefinition serviceVersion

    Service version to be updated from.

    Boolean protectExistingEndpoints

    Flag indicating that existing physical endpoints and their corresponding outbound endpoints on virtual services should not be updated or deleted. This applies to endpoint addresses, bindings, and identities.

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    System.IEquatable<T>
    Back to top Nevatech Sentinet 6.5 Online Documentation