This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Context Methods
The methods of the Context class are listed below. For a complete list of Context class members, see the Context Members topic.
Public:
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:
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