編輯

共用方式為


ReceiveMessageContent Class

Definition

A class used to receive a Message or a message contract type within a workflow service.

public ref class ReceiveMessageContent sealed : System::ServiceModel::Activities::ReceiveContent
[System.Windows.Markup.ContentProperty("Message")]
public sealed class ReceiveMessageContent : System.ServiceModel.Activities.ReceiveContent
[<System.Windows.Markup.ContentProperty("Message")>]
type ReceiveMessageContent = class
    inherit ReceiveContent
Public NotInheritable Class ReceiveMessageContent
Inherits ReceiveContent
Inheritance
ReceiveMessageContent
Attributes

Constructors

ReceiveMessageContent()

Initializes a new instance of the ReceiveMessageContent class.

ReceiveMessageContent(OutArgument, Type)

Initializes a new instance of the ReceiveMessageContent class with the specified message and message type.

ReceiveMessageContent(OutArgument)

Initializes a new instance of the ReceiveMessageContent class with the specified message.

Properties

DeclaredMessageType

Gets or sets the declared message type.

Message

Gets or sets the message received.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeDeclaredMessageType()

Gets a boolean value that determines if the message should be serialized as the declared message type.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to