2 types derived from ContextBoundObject
System.ServiceModel (2)
System\ServiceModel\ComIntegration\ServiceMoniker.cs (2)
21public sealed class ServiceMoniker : ContextBoundObject 29internal sealed class ServiceMonikerInternal : ContextBoundObject, IMoniker, IParseDisplayName, IDisposable
20 references to ContextBoundObject
mscorlib (19)
system\runtime\remoting\activationservices.cs (3)
837(ContextBoundObject)server, 870return RemotingServices.Wrap((ContextBoundObject)server); 969if (!(typeof(ContextBoundObject).IsAssignableFrom(serverType)) ||
system\runtime\remoting\context.cs (2)
867public static bool RegisterDynamicProperty(IDynamicProperty prop, ContextBoundObject obj, Context ctx) 897public static bool UnregisterDynamicProperty(String name, ContextBoundObject obj, Context ctx)
system\runtime\remoting\identityholder.cs (3)
280if (obj is ContextBoundObject) 784RemotingServices.AlwaysUnwrap((ContextBoundObject)obj); 815RemotingServices.AlwaysUnwrap((ContextBoundObject)obj);
system\runtime\remoting\remotingproxy.cs (1)
208(ContextBoundObject) this.UnwrappedServerObject);
system\runtime\remoting\remotingservices.cs (8)
424Contract.Assert(!(obj is ContextBoundObject), "ContextBoundObject's shouldn't get here."); 452Contract.Assert(obj is ContextBoundObject, "Object should have been a ContextBoundObject."); 719Contract.Assert(srvID != null && Obj is ContextBoundObject, 1054internal static Object Wrap(ContextBoundObject obj) 1060internal static Object Wrap(ContextBoundObject obj, Object proxy, bool fCreateSinks) 1157internal static extern Object Unwrap(ContextBoundObject obj); 1161internal static extern Object AlwaysUnwrap(ContextBoundObject obj); 2321if(!IsTransparentProxy(obj) && (obj is ContextBoundObject))
system\runtime\remoting\serveridentity.cs (1)
131internal ServerIdentity(MarshalByRefObject obj, Context serverCtx) : base(obj is ContextBoundObject)
system\type.cs (1)
1325return typeof(ContextBoundObject).IsAssignableFrom(this);
System.Runtime.Remoting (1)
metadata\wsdlwriter.cs (1)
812private static Type s_contextBoundType = typeof(System.ContextBoundObject);