Class MessageSubtree
Represents a message belonging to the service operation with its children.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class MessageSubtree : Subtree, IEquatable<Subtree>
Constructors
MessageSubtree()
Instantiates new object.
Declaration
public MessageSubtree()
MessageSubtree(Message)
Initializes new instance from provided message.
Declaration
public MessageSubtree(Message message)
Parameters
| Type | Name | Description |
|---|---|---|
| Message | message | Message to be initialized from. |
MessageSubtree(int, string, Guid, MessageDirection)
Initializes new instance with provided identifier and display name.
Declaration
public MessageSubtree(int id, string name, Guid key, MessageDirection direction)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | Message identifier. |
| string | name | Message display name. |
| Guid | key | Behavior's unique key. |
| MessageDirection | direction | Message direction (input, output, or fault). |
Properties
Direction
Gets or sets message direction (input, output, or fault).
Declaration
[DataMember]
public MessageDirection Direction { get; set; }
Property Value
| Type | Description |
|---|---|
| MessageDirection |
Headers
Gets collection of SOAP headers participating in the message contract.
Declaration
[DataMember(EmitDefaultValue = false)]
public Collection<Subtree> Headers { get; }
Property Value
| Type | Description |
|---|---|
| Collection<Subtree> |
HttpMethod
Gets or sets the HTTP request method name (populated for RESTful service's input messages).
Declaration
[DataMember(EmitDefaultValue = false)]
public string HttpMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| string |