System.Runtime.Remoting.Contexts
TOC
Collapse the table of content
Expand the table of content

System.Runtime.Remoting.Contexts Namespace

 

The System.Runtime.Remoting.Contexts namespace contains objects that define the contexts all objects reside within. A context is an ordered sequence of properties that defines an environment for the objects within it. Contexts are created during the activation process for objects that are configured to require certain automatic services such synchronization, transactions, just-in-time (JIT) activation, security, and so on. Multiple objects can live inside a context.

ClassDescription
System_CAPS_pubclassContext

This API supports the product infrastructure and is not intended to be used directly from your code. Defines an environment for the objects that are resident inside it and for which a policy can be enforced.

System_CAPS_pubclassContextAttribute

This API supports the product infrastructure and is not intended to be used directly from your code. Provides the default implementations of the IContextAttribute and IContextProperty interfaces.

System_CAPS_pubclassContextProperty

This API supports the product infrastructure and is not intended to be used directly from your code. Holds the name/value pair of the property name and the object representing the property of a context.

System_CAPS_pubclassSynchronizationAttribute

Enforces a synchronization domain for the current context and all contexts that share the same instance.

InterfaceDescription
System_CAPS_pubinterfaceIContextAttribute

This API supports the product infrastructure and is not intended to be used directly from your code. Identifies a context attribute.

System_CAPS_pubinterfaceIContextProperty

This API supports the product infrastructure and is not intended to be used directly from your code. Gathers naming information from the context property and determines whether the new context is ok for the context property.

System_CAPS_pubinterfaceIContextPropertyActivator

This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that the implementing property is interested in participating in activation and might not have provided a message sink.

System_CAPS_pubinterfaceIContributeClientContextSink

This API supports the product infrastructure and is not intended to be used directly from your code. Contributes an interception sink at the context boundary on the client end of a remoting call.

System_CAPS_pubinterfaceIContributeDynamicSink

This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that the implementing property will be registered at runtime through the RegisterDynamicProperty method.

System_CAPS_pubinterfaceIContributeEnvoySink

This API supports the product infrastructure and is not intended to be used directly from your code. Contributes an envoy message sink on the client end.

System_CAPS_pubinterfaceIContributeObjectSink

This API supports the product infrastructure and is not intended to be used directly from your code. Contributes an object-specific interception sink on the server end of a remoting call.

System_CAPS_pubinterfaceIContributeServerContextSink

This API supports the product infrastructure and is not intended to be used directly from your code. Contributes an interception sink at the context boundary on the server end of a remoting call.

System_CAPS_pubinterfaceIDynamicMessageSink

This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that the implementing message sink will be provided by dynamically registered properties.

System_CAPS_pubinterfaceIDynamicProperty

This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that the implementing property should be registered at runtime through the RegisterDynamicProperty method.

DelegateDescription
System_CAPS_pubdelegateCrossContextDelegate

This API supports the product infrastructure and is not intended to be used directly from your code. Represents the method that will handle the requests of execution of some code in another context.

Whenever a new object is created, the.NET Framework finds a compatible context or creates a new context for the object. After an object is placed in a context, it stays in it for life. Classes that can be bound to a context are called context-bound classes. When accessed from another context, these context-bound classes are referenced directly using a proxy. A call from an object in one context to an object in another context will go through a context proxy and be affected by the policy implemented by the combined context properties.

Return to top
Show:
© 2016 Microsoft