Class ServiceAgreementTransaction
Represents the fact that monitoring transaction participates in a service agreement.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02", Name = "SlaTran")]
public sealed class ServiceAgreementTransaction : IValidator, IExtensibleDataObject
Constructors
ServiceAgreementTransaction()
Declaration
public ServiceAgreementTransaction()
Properties
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 roundtrips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
| Type | Description |
|---|---|
| ExtensionDataObject |
ServiceAgreementId
Gets or sets identifier of the service agreement this monitoring transaction is participating in.
Declaration
[DataMember(Name = "SlaId")]
public int ServiceAgreementId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StartDateTime
Gets or sets transaction start date/time converted to the time zone of the service agreement.
Declaration
[DataMember(Name = "Start")]
public DateTime StartDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Methods
GetSize()
Calculates and returns approximate size of the serialized to XML instance.
Declaration
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public int GetSize()
Returns
| Type | Description |
|---|---|
| int | Approximate size of the serialized to XML instance. |
ToString()
Returns a string that represents the object state.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String that represents the object state. |
Overrides
Validate()
Validates this domain object's state.
Declaration
public bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if object's state is valid; otherwise, false. |