This documentation is archived and is not being maintained.

SecurityContext Members

Encapsulates and propagates all security-related data for execution contexts transferred across threads. This class cannot be inherited.

The SecurityContext type exposes the following members.

  NameDescription
Public method Static member Capture Captures the security context for the current thread.
Public method CreateCopy Creates a copy of the current security context.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Static member IsFlowSuppressed Determines whether the flow of the security context has been suppressed.
Public method Static member IsWindowsIdentityFlowSuppressed Determines whether the flow of the Windows identity portion of the current security context has been suppressed.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member RestoreFlow Restores the flow of the security context across asynchronous threads.
Public method Static member Run Runs the specified method in the specified security context on the current thread.
Public method Static member SuppressFlow Suppresses the flow of the security context across asynchronous threads.
Public method Static member SuppressFlowWindowsIdentity Suppresses the flow of the Windows identity portion of the current security context across asynchronous threads.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show: