Class ServiceVersionUpdateDetails
Provides information about the entities that need to be imported from metadata and included in the updated service version.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Description
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class ServiceVersionUpdateDetails : IValidator
Constructors
ServiceVersionUpdateDetails()
Declaration
public ServiceVersionUpdateDetails()
Properties
Contracts
Gets collection of names and namespaces of the contracts (port types) that need to be imported.
Declaration
[DataMember]
public Collection<XmlQualifiedName> Contracts { get; }
Property Value
| Type | Description |
|---|---|
| Collection<XmlQualifiedName> |
Endpoints
Gets collection of endpoint (port) names that need to be imported.
Declaration
[DataMember]
public Collection<string> Endpoints { get; }
Property Value
| Type | Description |
|---|---|
| Collection<string> |
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
Options
Gets or sets the additional options to be applied.
Declaration
[DataMember]
public ServiceVersionUpdateOptions Options { get; set; }
Property Value
| Type | Description |
|---|---|
| ServiceVersionUpdateOptions |
QName
Gets or sets service name and namespace that must match to the ones defined in the metadata. If metadata defines no services, arbitrary name and namespace should be provided.
Declaration
[DataMember]
public XmlQualifiedName QName { get; set; }
Property Value
| Type | Description |
|---|---|
| XmlQualifiedName |
ServiceVersionId
Gets or sets service version identifier.
Declaration
[DataMember]
public int ServiceVersionId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Validate()
Evaluates the state of the object. Returns True, if state is valid, or False, if it is not.
Declaration
public bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if state is valid; otherwise, false. |