Public Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified |
![]() ![]() |
Get | This method returns the object associated with the current thread. When no user context has been set, a default one exists containing the current locale for the current thread. |
![]() |
GetHashCode | Serves as a hash function for a particular type. |
![]() |
GetLocale | Returns the locale identifier for this user context. If no locale has been set, this method returns the locale defined for the current thread. For more information, see the property. |
![]() ![]() |
GetToken | Returns the object that is currently in effect. If there is a Token associated with the current thread then this method will return it. If not, then it will return the Token associated with the current process. If there are no associated Tokens, then this method returns |
![]() |
GetType | Gets the |
![]() |
SetLocale | Sets the locale identifier for this user context. For more information, see the property. |
![]() ![]() |
SetProcessSecurityToken | Associates the SecurityToken with all threads in this process (global). This method is required for setting the security token that will be used for all connections in the current process. |
![]() ![]() |
SetThreadSecurityToken | Associates the SecurityToken with the current thread. This method is required for setting the security token that will be used for all connections in the current thread. |
![]() |
ToString | Returns a |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | Allows an |
![]() |
MemberwiseClone | Creates a shallow copy of the current |