SecurityContext::CreateCopy Method ()
.NET Framework (current version)
Creates a copy of the current security context.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The current security context has been previously used, was marshaled across application domains, or was not acquired through the Capture method. |
The current context must have been acquired through a capture or a copy operation. This method is useful for applying a captured SecurityContext to multiple threads.
.NET Framework
Available since 2.0
Available since 2.0
Show: