This documentation is archived and is not being maintained.
Visual Studio 2010
The WindowsImpersonationContext type exposes the following members.
|Dispose()||Releases all resources used by the WindowsImpersonationContext.|
|Dispose(Boolean)||Releases the unmanaged resources used by the WindowsImpersonationContext and optionally releases the managed resources.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it 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.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|Undo||Reverts the user context to the Windows user represented by this object.|