LicenseException Konstruktoren

Definition

Initialisiert eine neue Instanz der LicenseException-Klasse.

Überlädt

Name Beschreibung
LicenseException(Type)

Initialisiert eine neue Instanz der LicenseException Klasse für den Typ der Komponente, die eine Lizenz verweigert wurde.

LicenseException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der Klasse mit dem LicenseException angegebenen SerializationInfo und StreamingContext.

LicenseException(Type, Object)

Initialisiert eine neue Instanz der LicenseException Klasse für den Typ und die Instanz der Komponente, die eine Lizenz verweigert hat.

LicenseException(Type, Object, String)

Initialisiert eine neue Instanz der LicenseException Klasse für den Typ und die Instanz der Komponente, die eine Lizenz verweigert hat, sowie eine Meldung, die angezeigt werden soll.

LicenseException(Type, Object, String, Exception)

Initialisiert eine neue Instanz der LicenseException Klasse für den Typ und die Instanz der Komponente, die eine Lizenz verweigert hat, sowie eine Meldung, die angezeigt und die ursprüngliche Ausnahme ausgelöst wird.

LicenseException(Type)

Initialisiert eine neue Instanz der LicenseException Klasse für den Typ der Komponente, die eine Lizenz verweigert wurde.

public:
 LicenseException(Type ^ type);
public LicenseException(Type type);
new System.ComponentModel.LicenseException : Type -> System.ComponentModel.LicenseException
Public Sub New (type As Type)

Parameter

type
Type

A Type that represents the type of component that was not granted a license.

Weitere Informationen

Gilt für:

LicenseException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der Klasse mit dem LicenseException angegebenen SerializationInfo und StreamingContext.

protected:
 LicenseException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected LicenseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ComponentModel.LicenseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.LicenseException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

Der SerializationInfo für die Deserialisierung zu verwendende

context
StreamingContext

Das Ziel, das für die Deserialisierung verwendet werden soll.

Gilt für:

LicenseException(Type, Object)

Initialisiert eine neue Instanz der LicenseException Klasse für den Typ und die Instanz der Komponente, die eine Lizenz verweigert hat.

public:
 LicenseException(Type ^ type, System::Object ^ instance);
public LicenseException(Type type, object instance);
new System.ComponentModel.LicenseException : Type * obj -> System.ComponentModel.LicenseException
Public Sub New (type As Type, instance As Object)

Parameter

type
Type

A Type that represents the type of component that was not granted a license.

instance
Object

Die Instanz der Komponente, der keine Lizenz erteilt wurde.

Weitere Informationen

Gilt für:

LicenseException(Type, Object, String)

Initialisiert eine neue Instanz der LicenseException Klasse für den Typ und die Instanz der Komponente, die eine Lizenz verweigert hat, sowie eine Meldung, die angezeigt werden soll.

public:
 LicenseException(Type ^ type, System::Object ^ instance, System::String ^ message);
public LicenseException(Type type, object instance, string message);
new System.ComponentModel.LicenseException : Type * obj * string -> System.ComponentModel.LicenseException
Public Sub New (type As Type, instance As Object, message As String)

Parameter

type
Type

A Type that represents the type of component that was not granted a license.

instance
Object

Die Instanz der Komponente, der keine Lizenz erteilt wurde.

message
String

Die anzuzeigende Ausnahmemeldung.

Weitere Informationen

Gilt für:

LicenseException(Type, Object, String, Exception)

Initialisiert eine neue Instanz der LicenseException Klasse für den Typ und die Instanz der Komponente, die eine Lizenz verweigert hat, sowie eine Meldung, die angezeigt und die ursprüngliche Ausnahme ausgelöst wird.

public:
 LicenseException(Type ^ type, System::Object ^ instance, System::String ^ message, Exception ^ innerException);
public LicenseException(Type type, object instance, string message, Exception innerException);
new System.ComponentModel.LicenseException : Type * obj * string * Exception -> System.ComponentModel.LicenseException
Public Sub New (type As Type, instance As Object, message As String, innerException As Exception)

Parameter

type
Type

A Type that represents the type of component that was not granted a license.

instance
Object

Die Instanz der Komponente, der keine Lizenz erteilt wurde.

message
String

Die anzuzeigende Ausnahmemeldung.

innerException
Exception

Ein Exception Wert, der die ursprüngliche Ausnahme darstellt.

Weitere Informationen

Gilt für: