System.Runtime.Remoting.RemotingServices.IsTransparentProxy C# (CSharp) Method

IsTransparentProxy() private method

private IsTransparentProxy ( Object proxy ) : bool
proxy Object
return bool
        public static extern bool IsTransparentProxy(Object proxy);

Usage Example

Beispiel #1
0
 internal ServerIdentity(MarshalByRefObject obj, Context serverCtx) : base(obj is ContextBoundObject)
 {
     if (obj != null)
     {
         if (!RemotingServices.IsTransparentProxy(obj))
         {
             this._srvType = obj.GetType();
         }
         else
         {
             this._srvType = RemotingServices.GetRealProxy(obj).GetProxiedType();
         }
     }
     this._srvCtx            = serverCtx;
     this._serverObjectChain = null;
     this._stackBuilderSink  = null;
 }
All Usage Examples Of System.Runtime.Remoting.RemotingServices::IsTransparentProxy
RemotingServices