LicenseManager.CurrentContext 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
사용이 허가된 개체를 사용할 수 있는 시기를 지정하는 현재 LicenseContext개체를 가져오거나 설정합니다.
public:
static property System::ComponentModel::LicenseContext ^ CurrentContext { System::ComponentModel::LicenseContext ^ get(); void set(System::ComponentModel::LicenseContext ^ value); };
public static System.ComponentModel.LicenseContext CurrentContext { get; set; }
static member CurrentContext : System.ComponentModel.LicenseContext with get, set
Public Shared Property CurrentContext As LicenseContext
속성 값
LicenseContext 사용이 허가된 개체를 사용할 수 있는 시기를 지정하는 A입니다.
예외
이 CurrentContext 속성은 현재 잠겨 있으며 변경할 수 없습니다.
설명
사용자가 유효한 License요청을 하면 사용자는 메서드에 유효한 컨텍스트 License 를 LicenseProvider.GetLicense 제공해야 합니다. 이 LicenseContext 속성에서 반환 된 모든 LicenseProvider 클래스에 전달 되어야 합니다.