MessageHeaders Members
.NET Framework 3.5
Represents a collection of message headers for a message. This class cannot be inherited.
The MessageHeaders type exposes the following members.
| Name | Description | |
|---|---|---|
|
MessageHeaders | Overloaded. Initializes a new instance of the MessageHeaders class. |
| Name | Description | |
|---|---|---|
|
Add | Adds the specifies message header to the collection. |
|
Clear | Removes all the headers from the collection. |
|
CopyHeaderFrom | Overloaded. Copies the header content from a specified object to this instance. |
|
CopyHeadersFrom | Overloaded. Copies the content of all the headers from a specified object to this instance. |
|
CopyTo | Copies the headers from this collection to an array, starting at a particular index of the array. |
|
Equals | 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.) |
|
FindHeader | Overloaded. Finds a message header in this collection. |
|
GetEnumerator | Returns an enumerator that can iterate through a collection. This method cannot be inherited. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetHeader | Overloaded. Retrieves a message header in this collection. |
|
GetReaderAtHeader | Gets a XML dictionary reader that consumes the message header at the specified location of the collection. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
HaveMandatoryHeadersBeenUnderstood | Overloaded. Verifies whether all the message headers marked with MustUnderstand have been properly interpreted and processed. |
|
Insert | Inserts a message header into the collection at the specified index. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
RemoveAll | Removes all headers with the specified name and namespace from the collection. |
|
RemoveAt | Removes the message header at the specified index from the collection. |
|
SetAction | Sets the action element of the header. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
WriteHeader | Overloaded. Serializes the header from the specified location using an XML writer. |
|
WriteHeaderContents | Overloaded. Serializes the specified header content using the specified XML writer. |
|
WriteStartHeader | Overloaded. Serializes the start header using the specified XML writer. |
| Name | Description | |
|---|---|---|
|
Aggregate | Applies an accumulator function over a sequence. (Defined by Enumerable.) |
|
All | Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.) |
|
Any | Overloaded. Determines whether any element of a sequence exists or satisfies a condition. |
|
AsEnumerable | Returns the input typed as IEnumerable<T>. (Defined by Enumerable.) |
|
AsQueryable | Overloaded. Converts an IEnumerable or generic IEnumerable<T> to an IQueryable or generic IQueryable<T>. |
|
Average | Overloaded. Computes the average of a sequence of numeric values. |
|
Cast | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
Concat | Concatenates two sequences. (Defined by Enumerable.) |
|
Contains | Overloaded. Determines whether a sequence contains a specified element. |
|
Count | Overloaded. Returns the number of elements in a sequence. |
|
DefaultIfEmpty | Overloaded. Returns the elements of an IEnumerable<T>, or a default valued singleton collection if the sequence is empty. |
|
Distinct | Overloaded. Returns distinct elements from a sequence. |
|
ElementAt | Returns the element at a specified index in a sequence. (Defined by Enumerable.) |
|
ElementAtOrDefault | Returns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.) |
|
Except | Overloaded. Produces the set difference of two sequences. |
|
First | Overloaded. Returns the first element of a sequence. |
|
FirstOrDefault | Overloaded. Returns the first element of a sequence, or a default value if no element is found. |
|
Intersect | Overloaded. Produces the set intersection of two sequences. |
|
Last | Overloaded. Returns the last element of a sequence. |
|
LastOrDefault | Overloaded. Returns the last element of a sequence, or a default value if no element is found. |
|
LongCount | Overloaded. Returns an Int64 that represents the number of elements in a sequence. |
|
Max | Overloaded. Returns the maximum value in a sequence of values. |
|
Min | Overloaded. Returns the minimum value in a sequence of values. |
|
OfType | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
|
Reverse | Inverts the order of the elements in a sequence. (Defined by Enumerable.) |
|
SequenceEqual | Overloaded. Determines whether two sequences are equal according to an equality comparer. |
|
Single | Overloaded. Returns a single, specific element of a sequence of values. |
|
SingleOrDefault | Overloaded. Returns a single, specific element of a sequence of values, or a default value if no such element is found. |
|
Skip | Bypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.) |
|
SkipWhile | Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. |
|
Sum | Overloaded. Computes the sum of a sequence of numeric values. |
|
Take | Returns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.) |
|
TakeWhile | Overloaded. Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements. |
|
ToArray | Creates an array from a IEnumerable<T>. (Defined by Enumerable.) |
|
ToList | Creates a List<T> from an IEnumerable<T>. (Defined by Enumerable.) |
|
Union | Overloaded. Produces the set union of two sequences. |
|
Where | Overloaded. Filters a sequence of values based on a predicate. |
| Name | Description | |
|---|---|---|
|
Action | Gets or sets a description of how the message should be processed. |
|
Count | Gets the number of message headers in this collection. |
|
FaultTo | Gets or sets the address of the node to which faults should be sent. |
|
From | Gets or sets the address of the node that sent the message. |
|
Item | Retrieves a header at the given index. |
|
MessageId | Gets or sets the unique ID of the message. |
|
MessageVersion | Gets the SOAP version of the message. |
|
RelatesTo | Gets the IDs of messages that are related to this message. |
|
ReplyTo | Gets or sets the address of the node to which a reply should be sent for a request. |
|
To | Gets or sets the destination endpoint of a message. |
|
UnderstoodHeaders | Gets all the message headers that must be understood, according to SOAP 1.1/1.2 specification. |
| Name | Description | |
|---|---|---|
|
IEnumerable.GetEnumerator | Returns an enumerator that can iterate through a collection. This method cannot be inherited. |