ScopedMessagePartSpecification Class

Definition

Specifies which parts are included in a message.

public ref class ScopedMessagePartSpecification
public class ScopedMessagePartSpecification
type ScopedMessagePartSpecification = class
Public Class ScopedMessagePartSpecification
Inheritance
ScopedMessagePartSpecification

Remarks

This class contains the MessagePartSpecification instances of different messages, each distinguished by the message Action.

Constructors

ScopedMessagePartSpecification()

Initializes a new instance of the ScopedMessagePartSpecification class.

ScopedMessagePartSpecification(ScopedMessagePartSpecification)

Initializes a new instance of the ScopedMessagePartSpecification class from another instance of this class.

Properties

Actions

Gets a collection of action keys.

ChannelParts

Gets a message part specification that contains the channel parts.

IsReadOnly

Indicates whether the specification is read-only.

Methods

AddParts(MessagePartSpecification)

Adds channel message parts to the collections in the instance of this class.

AddParts(MessagePartSpecification, String)

Adds message parts to the MessagePartSpecification that corresponds to the specified action.

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)
MakeReadOnly()

Sets the specification to read-only.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGetParts(String, Boolean, MessagePartSpecification)

Checks whether there are parts that match a given action key.

TryGetParts(String, MessagePartSpecification)

Checks whether there are parts that match a given action key.

Applies to