Edit

Share via


TaskAgentMessage Class

Definition

Provides a contract for receiving messages from the task orchestrator.

[System.Runtime.Serialization.DataContract]
public sealed class TaskAgentMessage
type TaskAgentMessage = class
Public NotInheritable Class TaskAgentMessage
Inheritance
TaskAgentMessage
Attributes

Constructors

TaskAgentMessage()

Initializes an empty TaskAgentMessage instance.

Properties

Body

Gets or sets the body of the message. If the IV property is provided the body will need to be decrypted using the TaskAgentSession.EncryptionKey value in addition to the IV.

IV

Gets or sets the intialization vector used to encrypt this message.

MessageId

Gets or sets the message identifier.

MessageType

Gets or sets the message type, describing the data contract found in TaskAgentMessage.Body.

Applies to