A LifetimeManager that holds onto the instance given to it.
When the ContainerControlledLifetimeManagerEx is disposed,
the instance is disposed with it.
| C# | Visual Basic | Visual C++ |
public class ContainerControlledLifetimeManagerEx : SynchronizedLifetimeManagerEx, IDisposable
Public Class ContainerControlledLifetimeManagerEx _ Inherits SynchronizedLifetimeManagerEx _ Implements IDisposable
public ref class ContainerControlledLifetimeManagerEx : public SynchronizedLifetimeManagerEx, IDisposable
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| ContainerControlledLifetimeManagerEx()()() | Initializes a new instance of the ContainerControlledLifetimeManagerEx class | |
| Dispose()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Dispose(Boolean) |
Standard Dispose pattern implementation. Not needed, but it keeps FxCop happy.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetValue()()() |
Retrieves a value from the backing store associated with this Lifetime policy.
(Inherited from SynchronizedLifetimeManagerEx.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Recover()()() |
Cleans up after an exception has occured.
(Inherited from SynchronizedLifetimeManagerEx.) | |
| RemoveValue()()() |
Removes the given object from backing store.
(Overrides SynchronizedLifetimeManagerEx.RemoveValue()()().) | |
| SetValue(Object) |
Stores the given value into the backing store for retrieval later.
(Inherited from SynchronizedLifetimeManagerEx.) | |
| SynchronizedGetValue()()() |
Retrieve a value from the backing store associated with this Lifetime policy.
(Overrides SynchronizedLifetimeManagerEx.SynchronizedGetValue()()().) | |
| SynchronizedSetValue(Object) |
Stores the given value into backing store for retrieval later.
(Overrides SynchronizedLifetimeManagerEx.SynchronizedSetValue(Object).) | |
| ToString()()() | (Inherited from Object.) |
| Object | |||
| LifetimeManager | |||
| SynchronizedLifetimeManagerEx | |||
| ContainerControlledLifetimeManagerEx | |||