Context Methods

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The Context type exposes the following members.

  Name Description
Public method Static member AllocateDataSlot Infrastructure. Allocates an unnamed data slot.
Public method Static member AllocateNamedDataSlot Infrastructure. Allocates a named data slot.
Public method DoCallBack Infrastructure. Executes code in another context.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Infrastructure. Cleans up the backing objects for the nondefault contexts. (Overrides Object.Finalize().)
Public method Static member FreeNamedDataSlot Infrastructure. Frees a named data slot on all the contexts.
Public method Freeze Infrastructure. Freezes the context, making it impossible to add or remove context properties from the current context.
Public method Static member GetData Infrastructure. Retrieves the value from the specified slot on the current context.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Static member GetNamedDataSlot Infrastructure. Looks up a named data slot.
Public method GetProperty Infrastructure. Returns a specific context property, specified by name.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member RegisterDynamicProperty Infrastructure. Registers a dynamic property implementing the IDynamicProperty interface with the remoting service.
Public method Static member SetData Infrastructure. Sets the data in the specified slot on the current context.
Public method SetProperty Infrastructure. Sets a specific context property by name.
Public method ToString Infrastructure. Returns a String class representation of the current context. (Overrides Object.ToString().)
Public method Static member UnregisterDynamicProperty Infrastructure. Unregisters a dynamic property implementing the IDynamicProperty interface.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft