ScopedMessagePartSpecification Class
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Specifies which parts are included in a message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Name | Description | |
---|---|---|
![]() | 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. |
Name | Description | |
---|---|---|
![]() | 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. |
Name | Description | |
---|---|---|
![]() | 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.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MakeReadOnly() | Sets the specification to read-only. |
![]() | MemberwiseClone() | |
![]() | 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. |
This class contains the MessagePartSpecification instances of different messages, each distinguished by the message Action.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.