Class CopperMessageHeader<T>
Represents the content of a Copper SOAP header.
Inheritance
System.Object
CopperMessageHeader<T>
Namespace: Copper.Common.Context
Assembly: Copper.Common.dll
Syntax
public class CopperMessageHeader<T>
Type Parameters
Name | Description |
---|---|
T | The type of the header value. |
Constructors
View SourceCopperMessageHeader(T)
Initializes a new instance of the CopperMessageHeader<T> class.
Declaration
public CopperMessageHeader(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The content of the header to be created. |
Methods
View SourceGetUntypedHeader(String, String)
Gets the message header with the specified namespace and local name.
Declaration
public CopperMessageHeader GetUntypedHeader(string name, string ns)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The local name of the header XML element. |
System.String | ns | The namespace URI of the header XML element. |
Returns
Type | Description |
---|---|
CopperMessageHeader | A CopperMessageHeader with the specified namespace and local name. |