Upraviť

Zdieľať cez


Header Constructors

Definition

Initializes a new instance of the Header class.

Overloads

Header(String, Object)

Initializes a new instance of the Header class with the given name and value.

Header(String, Object, Boolean)

Initializes a new instance of the Header class with the given name, value, and additional configuration information.

Header(String, Object, Boolean, String)

Initializes a new instance of the Header class.

Header(String, Object)

Initializes a new instance of the Header class with the given name and value.

public:
 Header(System::String ^ _Name, System::Object ^ _Value);
public Header (string _Name, object _Value);
new System.Runtime.Remoting.Messaging.Header : string * obj -> System.Runtime.Remoting.Messaging.Header
Public Sub New (_Name As String, _Value As Object)

Parameters

_Name
String

The name of the Header.

_Value
Object

The object that contains the value for the Header.

Applies to

Header(String, Object, Boolean)

Initializes a new instance of the Header class with the given name, value, and additional configuration information.

public:
 Header(System::String ^ _Name, System::Object ^ _Value, bool _MustUnderstand);
public Header (string _Name, object _Value, bool _MustUnderstand);
new System.Runtime.Remoting.Messaging.Header : string * obj * bool -> System.Runtime.Remoting.Messaging.Header
Public Sub New (_Name As String, _Value As Object, _MustUnderstand As Boolean)

Parameters

_Name
String

The name of the Header.

_Value
Object

The object that contains the value for the Header.

_MustUnderstand
Boolean

Indicates whether the receiving end must understand the out-of-band data.

Applies to

Header(String, Object, Boolean, String)

Initializes a new instance of the Header class.

public:
 Header(System::String ^ _Name, System::Object ^ _Value, bool _MustUnderstand, System::String ^ _HeaderNamespace);
public Header (string _Name, object _Value, bool _MustUnderstand, string _HeaderNamespace);
new System.Runtime.Remoting.Messaging.Header : string * obj * bool * string -> System.Runtime.Remoting.Messaging.Header
Public Sub New (_Name As String, _Value As Object, _MustUnderstand As Boolean, _HeaderNamespace As String)

Parameters

_Name
String

The name of the Header.

_Value
Object

The object that contains the value of the Header.

_MustUnderstand
Boolean

Indicates whether the receiving end must understand out-of-band data.

_HeaderNamespace
String

The Header XML namespace.

Applies to