Class ServiceVersionImportDetails
Provides information about the entities that need to be imported from metadata and included in the new 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 ServiceVersionImportDetails : IValidator
Constructors
ServiceVersionImportDetails()
Instantiates an empty object.
Declaration
public ServiceVersionImportDetails()
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> |
Description
Gets or sets service version description.
Declaration
[DataMember]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
IsSchemaFirst
Gets or sets flag indicating that XML schemas must be extracted from WSDL document(s) and attached to the service version which will be created as "Schema First" service giving ability to change operation definitions and message schemas.
Declaration
[DataMember(EmitDefaultValue = false)]
public bool IsSchemaFirst { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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 |
ServiceId
Gets or sets service identifier.
Declaration
[DataMember]
public int ServiceId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Status
Gets or sets service version status.
Declaration
[DataMember]
public ServiceVersionStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| ServiceVersionStatus |
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. |