Class MessageHeaderDefinition
Represents a SOAP message header definition which is a part of service operation. This class is a part of service definition structure used for creating or updating service version with single service call.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class MessageHeaderDefinition : MessageHeader, IValidator, IExtensibleDataObject, IEquatable<MessageHeader>
Constructors
MessageHeaderDefinition()
Instantiates an empty header definition.
Declaration
public MessageHeaderDefinition()
MessageHeaderDefinition(MessageHeader)
Initializes new instance from provided header.
Declaration
public MessageHeaderDefinition(MessageHeader header)
Parameters
Type | Name | Description |
---|---|---|
MessageHeader | header | Header to be initialized from. |
MessageHeaderDefinition(MessageHeaderDescription)
Initializes new instance from provided message header description.
Declaration
public MessageHeaderDefinition(MessageHeaderDescription header)
Parameters
Type | Name | Description |
---|---|---|
System.ServiceModel.Description.MessageHeaderDescription | header | Message header description to be initialized from. |
Properties
IsPopulated
Gets or sets a flag indicating that header properties are populated. If False, only downstream header identifier is populated and the rest of the properties must be read from the database.
Declaration
public bool IsPopulated { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Compress()
Clears unnecessary to runtime data to reduce message payload.
Declaration
public void Compress()
CopyFrom(MessageHeader)
Populates current instance from provided header.
Declaration
public void CopyFrom(MessageHeader header)
Parameters
Type | Name | Description |
---|---|---|
MessageHeader | header | Header to be populated from. |