UnderstoodHeaders Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of message headers that are understood. This class cannot be inherited.
public ref class UnderstoodHeaders sealed : System::Collections::Generic::IEnumerable<System::ServiceModel::Channels::MessageHeaderInfo ^>
public sealed class UnderstoodHeaders : System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.MessageHeaderInfo>
type UnderstoodHeaders = class
interface seq<MessageHeaderInfo>
interface IEnumerable
Public NotInheritable Class UnderstoodHeaders
Implements IEnumerable(Of MessageHeaderInfo)
- Inheritance
-
UnderstoodHeaders
- Implements
Remarks
This class contains a collection of message headers that are understood. SOAP processors at various layers (Security, Reliability, Transaction and application dispatcher) must add their MustUnderstand headers to this collection after processing the headers. The dispatcher throws a MessageHeader fault if a header exists in the Message.Headers collection that must be understood, but is not found in this collection.
Methods
| Name | Description |
|---|---|
| Add(MessageHeaderInfo) |
Adds the specified MessageHeaderInfo to this collection. This implies that the specific header has been understood. |
| Contains(MessageHeaderInfo) |
Verifies whether the specified MessageHeaderInfo is present in this collection. |
| GetEnumerator() |
Returns an enumerator that iterates through the collection. |
| Remove(MessageHeaderInfo) |
Removes the specified MessageHeaderInfo from this collection. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the collection. |