LicenseManager.Validate 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
라이선스를 부여할 수 있는지 여부를 결정합니다.
오버로드
| Name | Description |
|---|---|
| Validate(Type) |
지정된 형식에 대해 라이선스를 부여할 수 있는지 여부를 결정합니다. |
| Validate(Type, Object) |
지정된 형식의 인스턴스에 대해 라이선스를 부여할 수 있는지 여부를 결정합니다. |
Validate(Type)
지정된 형식에 대해 라이선스를 부여할 수 있는지 여부를 결정합니다.
public:
static void Validate(Type ^ type);
public static void Validate(Type type);
static member Validate : Type -> unit
Public Shared Sub Validate (type As Type)
매개 변수
예외
A를 License 부여할 수 없습니다.
설명
이 메서드는 LicenseException 유효한 License 권한을 부여할 수 없는 경우를 throw합니다. 메서드는 IsValid 예외를 throw하지 않습니다.
추가 정보
- License
- LicenseContext
- LicenseException
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
적용 대상
Validate(Type, Object)
지정된 형식의 인스턴스에 대해 라이선스를 부여할 수 있는지 여부를 결정합니다.
public:
static System::ComponentModel::License ^ Validate(Type ^ type, System::Object ^ instance);
public static System.ComponentModel.License Validate(Type type, object instance);
static member Validate : Type * obj -> System.ComponentModel.License
Public Shared Function Validate (type As Type, instance As Object) As License
매개 변수
반품
유효한 입니다 License.
예외
형식은 사용이 허가되었지만 License 부여할 수 없습니다.
설명
이 메서드는 LicenseException 유효한 License 권한을 부여할 수 없는 경우를 throw합니다. 메서드는 IsValid 예외를 throw하지 않습니다.
개체를 License 삭제하거나 종료할 때 메서드를 호출 Dispose 하여 라이선스를 삭제해야 합니다.
추가 정보
- License
- LicenseContext
- LicenseException
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode