LicenseManager.Validate 메서드

정의

라이선스를 부여할 수 있는지 여부를 확인합니다.

오버로드

Validate(Type)

지정된 형식에 대해 라이선스를 부여할 수 있는지 여부를 확인합니다.

Validate(Type, Object)

지정된 형식의 인스턴스에 대해 라이선스를 부여할 수 있는지 여부를 확인합니다.

Validate(Type)

Source:
LicenseManager.cs
Source:
LicenseManager.cs
Source:
LicenseManager.cs

지정된 형식에 대해 라이선스를 부여할 수 있는지 여부를 확인합니다.

public:
 static void Validate(Type ^ type);
public static void Validate (Type type);
static member Validate : Type -> unit
Public Shared Sub Validate (type As Type)

매개 변수

type
Type

라이선스를 요청하는 개체의 형식을 나타내는 Type입니다.

예외

License를 부여할 수 없는 경우

설명

이 메서드는 유효한 LicenseLicenseException 부여할 수 없는 경우 을 throw합니다. 메서드는 IsValid 예외를 throw하지 않습니다.

추가 정보

적용 대상

Validate(Type, Object)

Source:
LicenseManager.cs
Source:
LicenseManager.cs
Source:
LicenseManager.cs

지정된 형식의 인스턴스에 대해 라이선스를 부여할 수 있는지 여부를 확인합니다.

public:
 static System::ComponentModel::License ^ Validate(Type ^ type, System::Object ^ instance);
public static System.ComponentModel.License Validate (Type type, 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

매개 변수

type
Type

라이선스를 요청하는 개체의 형식을 나타내는 Type입니다.

instance
Object

지정된 형식 또는 지정된 형식에서 파생된 형식의 Object입니다.

반환

유효한 License입니다.

예외

형식에 라이선스가 있지만 License를 부여할 수 없는 경우

설명

이 메서드는 유효한 LicenseLicenseException 부여할 수 없는 경우 을 throw합니다. 메서드는 IsValid 예외를 throw하지 않습니다.

를 요청하는 License 모든 개체는 개체가 삭제되거나 종료될 때 메서드를 Dispose 호출하여 라이선스를 삭제해야 합니다.

추가 정보

적용 대상