59 lines
2.7 KiB
C#
59 lines
2.7 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Remoting.Activation;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace System.Runtime.Remoting.Messaging
|
|
{
|
|
/// <summary>Implements the <see cref="T:System.Runtime.Remoting.Activation.IConstructionReturnMessage" /> interface to create a message that responds to a call to instantiate a remote object.</summary>
|
|
// Token: 0x020003E4 RID: 996
|
|
[ComVisible(true)]
|
|
[CLSCompliant(false)]
|
|
[Serializable]
|
|
public class ConstructionResponse : MethodResponse, IConstructionReturnMessage, IMessage, IMethodMessage, IMethodReturnMessage
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Messaging.ConstructionResponse" /> class from an array of remoting headers and a request message.</summary>
|
|
/// <param name="h">An array of remoting headers that contain key-value pairs. This array is used to initialize <see cref="T:System.Runtime.Remoting.Messaging.ConstructionResponse" /> fields for those headers that belong to the namespace "http://schemas.microsoft.com/clr/soap/messageProperties".</param>
|
|
/// <param name="mcm">A request message that constitutes a constructor call on a remote object.</param>
|
|
// Token: 0x060026F3 RID: 9971 RVA: 0x00080748 File Offset: 0x0007E948
|
|
public ConstructionResponse(Header[] h, IMethodCallMessage mcm)
|
|
: base(h, mcm)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060026F4 RID: 9972 RVA: 0x00080754 File Offset: 0x0007E954
|
|
internal ConstructionResponse(object resultObject, LogicalCallContext callCtx, IMethodCallMessage msg)
|
|
: base(resultObject, null, callCtx, msg)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060026F5 RID: 9973 RVA: 0x00080760 File Offset: 0x0007E960
|
|
internal ConstructionResponse(Exception e, IMethodCallMessage msg)
|
|
: base(e, msg)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060026F6 RID: 9974 RVA: 0x0008076C File Offset: 0x0007E96C
|
|
internal ConstructionResponse(SerializationInfo info, StreamingContext context)
|
|
: base(info, context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets an <see cref="T:System.Collections.IDictionary" /> interface that represents a collection of the remoting message's properties. </summary>
|
|
/// <returns>An <see cref="T:System.Collections.IDictionary" /> interface that represents a collection of the remoting message's properties.</returns>
|
|
/// <PermissionSet>
|
|
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" />
|
|
/// </PermissionSet>
|
|
// Token: 0x17000753 RID: 1875
|
|
// (get) Token: 0x060026F7 RID: 9975 RVA: 0x00080778 File Offset: 0x0007E978
|
|
public override IDictionary Properties
|
|
{
|
|
get
|
|
{
|
|
return base.Properties;
|
|
}
|
|
}
|
|
}
|
|
}
|