NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Context Members

Public:

Constructor

Context Constructor This constructor creates a new context and uses the specified ContextID.

Properties

ContextID Reserved. This read-only property returns the ContextID for the Context.
ContextProperties This read-only property returns an array of the context properties.
DefaultContext This read-only property returns the default context for the AppDomain. Every thread in an app domain for which a context is not explicitly set is considered to be running in the DefaultContext.

Methods

AllocateDataSlot  
AllocateNamedDataSlot  
DoCallBack  
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
FreeNamedDataSlot  
Freeze Freeze the context. Context properties cannot be added after the context has been frozen.
GetData  
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetNamedDataSlot  
GetObjectData [To be supplied.]
GetProperty  
GetType (inherited from Object) Gets the Type of the Object.
RegisterDynamicProperty This allows users to register a property implementing IContributeDynamicSink with the remoting service. Based on the obj and ctx parameters, the property is asked to contribute a sink that is placed at some location in the path ofremoting calls. If multiple properties are registered, their sinks may be called in an arbitrary order that may change between calls.
SetData  
SetObjectData [To be supplied.]
SetProperty Sets a specific context property by name.
ToString  
UnregisterDynamicProperty Unregister dynamic property. See RegisterDynamicProperty.

Protected:

Methods

Finalize This method only cleans up the backing objects for the non-default contexts. Default contexts these are cleaned up during AppDomain shutdown.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Context Class | System.Runtime.Remoting Namespace