SecurityContext.Capture 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 스레드에 대한 보안 컨텍스트를 캡처합니다.
public:
static System::Security::SecurityContext ^ Capture();
public static System.Security.SecurityContext Capture();
static member Capture : unit -> System.Security.SecurityContext
Public Shared Function Capture () As SecurityContext
반환
현재 스레드에 대한 보안 컨텍스트입니다.
예외
.NET 5 이상(.NET Core 포함): 모든 경우에.
설명
캡처된 보안 컨텍스트를 다른 스레드에 적용할 수 있습니다. 는 SecurityContext 실행 중인 스레드에 CompressedStack 대한 및 WindowsIdentity 로 구성됩니다.