else
response = RemoteActivate (ctorCall);
- if (response is IConstructionReturnMessage)
+ if (response is IConstructionReturnMessage && ((IConstructionReturnMessage)response).Exception == null)
{
Identity identity = RemotingServices.GetMessageTargetIdentity (ctorCall);
proxy.AttachIdentity (identity);
// Allocates an uninitialized instance. It never creates proxies.
[MethodImplAttribute(MethodImplOptions.InternalCall)]
- private static extern object AllocateUninitializedClassInstance (Type type);
+ public static extern object AllocateUninitializedClassInstance (Type type);
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern static void EnableProxyActivation (Type type, bool enable);