C# Class System.Runtime.Remoting.Proxies.ProxyAttribute

Inheritance: Attribute, IContextAttribute
显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
CreateInstance ( Type serverType ) : MarshalByRefObject
CreateProxy ( ObjRef objRef, Type serverType, Object serverObject, Context serverContext ) : RealProxy
ProxyAttribute ( ) : System.Reflection

Private Methods

Method Description
CreateInstanceInternal ( Type serverType ) : MarshalByRefObject
GetPropertiesForNewContext ( IConstructionCallMessage msg ) : void
IsContextOK ( Context ctx, IConstructionCallMessage msg ) : bool

Method Details

CreateInstance() public method

public CreateInstance ( Type serverType ) : MarshalByRefObject
serverType Type
return MarshalByRefObject

CreateProxy() public method

public CreateProxy ( ObjRef objRef, Type serverType, Object serverObject, Context serverContext ) : RealProxy
objRef ObjRef
serverType Type
serverObject Object
serverContext System.Runtime.Remoting.Contexts.Context
return RealProxy

ProxyAttribute() public method

public ProxyAttribute ( ) : System.Reflection
return System.Reflection