using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Messaging
{
/// Defines the out-of-band data for a call.
// Token: 0x020003E7 RID: 999
[ComVisible(true)]
[Serializable]
public class Header
{
/// Initializes a new instance of the class with the given name and value.
/// The name of the .
/// The object that contains the value for the .
// Token: 0x0600270F RID: 9999 RVA: 0x00080830 File Offset: 0x0007EA30
public Header(string _Name, object _Value)
: this(_Name, _Value, true)
{
}
/// Initializes a new instance of the class with the given name, value, and additional configuration information.
/// The name of the .
/// The object that contains the value for the .
/// Indicates whether the receiving end must understand the out-of-band data.
// Token: 0x06002710 RID: 10000 RVA: 0x0008083C File Offset: 0x0007EA3C
public Header(string _Name, object _Value, bool _MustUnderstand)
: this(_Name, _Value, _MustUnderstand, null)
{
}
/// Initializes a new instance of the class.
/// The name of the .
/// The object that contains the value of the .
/// Indicates whether the receiving end must understand out-of-band data.
/// The XML namespace.
// Token: 0x06002711 RID: 10001 RVA: 0x00080848 File Offset: 0x0007EA48
public Header(string _Name, object _Value, bool _MustUnderstand, string _HeaderNamespace)
{
this.Name = _Name;
this.Value = _Value;
this.MustUnderstand = _MustUnderstand;
this.HeaderNamespace = _HeaderNamespace;
}
/// Indicates the XML namespace that the current belongs to.
// Token: 0x04000F3E RID: 3902
public string HeaderNamespace;
/// Indicates whether the receiving end must understand the out-of-band data.
// Token: 0x04000F3F RID: 3903
public bool MustUnderstand;
/// Contains the name of the .
// Token: 0x04000F40 RID: 3904
public string Name;
/// Contains the value for the .
// Token: 0x04000F41 RID: 3905
public object Value;
}
}