using System;
using System.Runtime.InteropServices;
using System.Runtime.Remoting.Activation;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Remoting.Proxies;
namespace System.Runtime.Remoting.Services
{
/// Provides APIs that are needed for communication and operation with unmanaged classes outside of the . This class cannot be inherited.
// Token: 0x02000435 RID: 1077
[ComVisible(true)]
public sealed class EnterpriseServicesHelper
{
/// Constructs a from the specified .
/// A returned from the construction call that is specified in the parameter.
/// A construction call to the object from which the new instance is returning.
/// A that represents the object that is constructed with the construction call in .
///
///
///
// Token: 0x060029A7 RID: 10663 RVA: 0x00085F78 File Offset: 0x00084178
[ComVisible(true)]
public static IConstructionReturnMessage CreateConstructionReturnMessage(IConstructionCallMessage ctorMsg, MarshalByRefObject retObj)
{
return new ConstructionResponse(retObj, null, ctorMsg);
}
/// Switches a COM Callable Wrapper (CCW) from one instance of a class to another instance of the same class.
/// A proxy that represents the old instance of a class that is referenced by a CCW.
/// A proxy that represents the new instance of a class that is referenced by a CCW.
/// The immediate caller does not have UnmanagedCode permission.
///
///
///
// Token: 0x060029A8 RID: 10664 RVA: 0x00085F84 File Offset: 0x00084184
[MonoTODO]
public static void SwitchWrappers(RealProxy oldcp, RealProxy newcp)
{
throw new NotSupportedException();
}
/// Wraps the specified IUnknown COM interface with a Runtime Callable Wrapper (RCW).
/// The RCW where the specified IUnknown is wrapped.
/// A pointer to the IUnknown COM interface to wrap.
/// The immediate caller does not have UnmanagedCode permission.
///
///
///
// Token: 0x060029A9 RID: 10665 RVA: 0x00085F8C File Offset: 0x0008418C
[MonoTODO]
public static object WrapIUnknownWithComObject(IntPtr punk)
{
throw new NotSupportedException();
}
}
}