Encapsulates and propagates all security-related data for execution contexts transferred across threads. This class cannot be inherited.
The following tables list the members exposed by the SecurityContext type.
|Capture||Captures the security context for the current thread.|
|CreateCopy||Creates a copy of the current security context.|
|Equals||Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|IsFlowSuppressed||Determines whether the flow of the security context has been suppressed.|
|IsWindowsIdentityFlowSuppressed||Determines whether the flow of the Windows identity portion of the current security context has been suppressed.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|RestoreFlow||Restores the flow of the security context across asynchronous threads.|
|Run||Runs the specified method in the specified security context on the current thread.|
|SuppressFlow||Suppresses the flow of the security context across asynchronous threads.|
|SuppressFlowWindowsIdentity||Suppresses the flow of the Windows identity portion of the current security context across asynchronous threads.|
|ToString||Returns a String that represents the current Object. (Inherited from Object.)|