LicenseManager.CreateWithContext 메서드

정의

라이선스 컨텍스트를 사용하여 개체 형식의 인스턴스를 만듭니다.

오버로드

CreateWithContext(Type, LicenseContext)

라이선스가 있는 인스턴스를 사용할 수 있는 컨텍스트를 지정하여, 지정된 형식의 인스턴스를 만듭니다.

CreateWithContext(Type, LicenseContext, Object[])

라이선스가 있는 인스턴스를 사용할 수 있는 컨텍스트를 지정하여, 지정된 인수가 포함된 지정된 형식의 인스턴스를 만듭니다.

CreateWithContext(Type, LicenseContext)

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

라이선스가 있는 인스턴스를 사용할 수 있는 컨텍스트를 지정하여, 지정된 형식의 인스턴스를 만듭니다.

public:
 static System::Object ^ CreateWithContext(Type ^ type, System::ComponentModel::LicenseContext ^ creationContext);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static object CreateWithContext (Type type, System.ComponentModel.LicenseContext creationContext);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static object? CreateWithContext (Type type, System.ComponentModel.LicenseContext creationContext);
public static object CreateWithContext (Type type, System.ComponentModel.LicenseContext creationContext);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member CreateWithContext : Type * System.ComponentModel.LicenseContext -> obj
static member CreateWithContext : Type * System.ComponentModel.LicenseContext -> obj
Public Shared Function CreateWithContext (type As Type, creationContext As LicenseContext) As Object

매개 변수

type
Type

만들 형식을 나타내는 Type입니다.

creationContext
LicenseContext

라이선스가 있는 인스턴스를 사용할 수 있는 시기를 지정하는 LicenseContext입니다.

반환

지정된 형식의 인스턴스입니다.

특성

설명

LicenseContext 매개 변수로 지정한 creationContext 은 이 License의 수명 동안 로 사용됩니다CurrentContext. 메서드는 CreateWithContext 의 다른 모든 스레드가 AppDomain 를 수정하지 CurrentContext못하도록 차단하여 CreateWithContext 원자성 연산으로 동작할 수 있습니다.

추가 정보

적용 대상

CreateWithContext(Type, LicenseContext, Object[])

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

라이선스가 있는 인스턴스를 사용할 수 있는 컨텍스트를 지정하여, 지정된 인수가 포함된 지정된 형식의 인스턴스를 만듭니다.

public:
 static System::Object ^ CreateWithContext(Type ^ type, System::ComponentModel::LicenseContext ^ creationContext, cli::array <System::Object ^> ^ args);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static object CreateWithContext (Type type, System.ComponentModel.LicenseContext creationContext, object[] args);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static object? CreateWithContext (Type type, System.ComponentModel.LicenseContext creationContext, object[] args);
public static object CreateWithContext (Type type, System.ComponentModel.LicenseContext creationContext, object[] args);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member CreateWithContext : Type * System.ComponentModel.LicenseContext * obj[] -> obj
static member CreateWithContext : Type * System.ComponentModel.LicenseContext * obj[] -> obj
Public Shared Function CreateWithContext (type As Type, creationContext As LicenseContext, args As Object()) As Object

매개 변수

type
Type

만들 형식을 나타내는 Type입니다.

creationContext
LicenseContext

라이선스가 있는 인스턴스를 사용할 수 있는 시기를 지정하는 LicenseContext입니다.

args
Object[]

해당 형식에 대한 인수를 나타내는 Object 형식의 배열입니다.

반환

지정된 인수 배열이 포함된 지정된 형식의 인스턴스입니다.

특성

설명

LicenseContext 매개 변수로 지정한 creationContext 은 이 License의 수명 동안 로 사용됩니다CurrentContext. 이 메서드는 의 다른 모든 스레드가 AppDomain 를 수정하지 CurrentContext못하도록 차단하여 CreateWithContext 원자성 연산으로 동작할 수 있습니다.

추가 정보

적용 대상