LicenseException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy LicenseException.

Przeciążenia

LicenseException(Type)

Inicjuje nowe wystąpienie LicenseException klasy dla typu składnika, który został odrzucony licencją.

LicenseException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje LicenseException nowe wystąpienie klasy z daną wartością SerializationInfo i StreamingContext.

LicenseException(Type, Object)

Inicjuje nowe wystąpienie LicenseException klasy dla typu i wystąpienie składnika, które zostało odrzucone licencji.

LicenseException(Type, Object, String)

Inicjuje nowe wystąpienie LicenseException klasy dla typu i wystąpienia składnika, który został odrzucony licencją, wraz z komunikatem do wyświetlenia.

LicenseException(Type, Object, String, Exception)

Inicjuje nowe wystąpienie LicenseException klasy dla typu i wystąpienia składnika, które zostało odrzucone licencji, wraz z komunikatem do wyświetlenia i zgłoszonym oryginalnym wyjątkiem.

LicenseException(Type)

Źródło:
LicenseException.cs
Źródło:
LicenseException.cs
Źródło:
LicenseException.cs

Inicjuje nowe wystąpienie LicenseException klasy dla typu składnika, który został odrzucony licencją.

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

Parametry

type
Type

Element Type reprezentujący typ składnika, który nie otrzymał licencji.

Zobacz też

Dotyczy

LicenseException(SerializationInfo, StreamingContext)

Źródło:
LicenseException.cs
Źródło:
LicenseException.cs
Źródło:
LicenseException.cs

Przestroga

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Inicjuje LicenseException nowe wystąpienie klasy z daną wartością SerializationInfo i 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);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.ComponentModel.LicenseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.LicenseException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametry

info
SerializationInfo

Element SerializationInfo , który ma być używany do deserializacji.

context
StreamingContext

Miejsce docelowe, które ma być używane do deserializacji.

Atrybuty

Dotyczy

LicenseException(Type, Object)

Źródło:
LicenseException.cs
Źródło:
LicenseException.cs
Źródło:
LicenseException.cs

Inicjuje nowe wystąpienie LicenseException klasy dla typu i wystąpienie składnika, które zostało odrzucone licencji.

public:
 LicenseException(Type ^ type, System::Object ^ instance);
public LicenseException (Type type, 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)

Parametry

type
Type

Element Type reprezentujący typ składnika, który nie otrzymał licencji.

instance
Object

Wystąpienie składnika, który nie otrzymał licencji.

Zobacz też

Dotyczy

LicenseException(Type, Object, String)

Źródło:
LicenseException.cs
Źródło:
LicenseException.cs
Źródło:
LicenseException.cs

Inicjuje nowe wystąpienie LicenseException klasy dla typu i wystąpienia składnika, który został odrzucony licencją, wraz z komunikatem do wyświetlenia.

public:
 LicenseException(Type ^ type, System::Object ^ instance, System::String ^ message);
public LicenseException (Type type, object instance, 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)

Parametry

type
Type

Element Type reprezentujący typ składnika, który nie otrzymał licencji.

instance
Object

Wystąpienie składnika, który nie otrzymał licencji.

message
String

Komunikat o wyjątku do wyświetlenia.

Zobacz też

Dotyczy

LicenseException(Type, Object, String, Exception)

Źródło:
LicenseException.cs
Źródło:
LicenseException.cs
Źródło:
LicenseException.cs

Inicjuje nowe wystąpienie LicenseException klasy dla typu i wystąpienia składnika, które zostało odrzucone licencji, wraz z komunikatem do wyświetlenia i zgłoszonym oryginalnym wyjątkiem.

public:
 LicenseException(Type ^ type, System::Object ^ instance, System::String ^ message, Exception ^ innerException);
public LicenseException (Type type, object instance, 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)

Parametry

type
Type

Element Type reprezentujący typ składnika, który nie otrzymał licencji.

instance
Object

Wystąpienie składnika, który nie otrzymał licencji.

message
String

Komunikat o wyjątku do wyświetlenia.

innerException
Exception

Element Exception reprezentujący oryginalny wyjątek.

Zobacz też

Dotyczy