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