LicenseException Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Inicializuje novou instanci LicenseException třídy.
Přetížení
| Name | Description |
|---|---|
| LicenseException(Type) |
Inicializuje novou instanci LicenseException třídy pro typ komponenty, která byla odepřena licence. |
| LicenseException(SerializationInfo, StreamingContext) |
Zastaralé.
Inicializuje novou instanci LicenseException třídy s danou SerializationInfo a StreamingContext. |
| LicenseException(Type, Object) |
Inicializuje novou instanci LicenseException třídy pro typ a instanci komponenty, která byla odepřena licenci. |
| LicenseException(Type, Object, String) |
Inicializuje novou instanci LicenseException třídy pro typ a instanci komponenty, která byla odepřena licence, spolu se zprávou, která se má zobrazit. |
| LicenseException(Type, Object, String, Exception) |
Inicializuje novou instanci LicenseException třídy pro typ a instanci komponenty, která byla odepřena licence, spolu se zprávou k zobrazení a původní vyvolání výjimky. |
LicenseException(Type)
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
Inicializuje novou instanci LicenseException třídy pro typ komponenty, která byla odepřena licence.
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
Viz také
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
Platí pro
LicenseException(SerializationInfo, StreamingContext)
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
Upozornění
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Inicializuje novou instanci LicenseException třídy s danou SerializationInfo a StreamingContext.
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);
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}")>]
new System.ComponentModel.LicenseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.LicenseException
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
Slouží SerializationInfo k deserializaci.
- context
- StreamingContext
Cíl, který se má použít k deserializaci.
- Atributy
Platí pro
LicenseException(Type, Object)
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
Inicializuje novou instanci LicenseException třídy pro typ a instanci komponenty, která byla odepřena licenci.
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
- instance
- Object
Instance komponenty, která nebyla udělena licence.
Viz také
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
Platí pro
LicenseException(Type, Object, String)
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
Inicializuje novou instanci LicenseException třídy pro typ a instanci komponenty, která byla odepřena licence, spolu se zprávou, která se má zobrazit.
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
- instance
- Object
Instance komponenty, která nebyla udělena licence.
- message
- String
Zpráva o výjimce, která se má zobrazit.
Viz také
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
Platí pro
LicenseException(Type, Object, String, Exception)
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
- Zdroj:
- LicenseException.cs
Inicializuje novou instanci LicenseException třídy pro typ a instanci komponenty, která byla odepřena licence, spolu se zprávou k zobrazení a původní vyvolání výjimky.
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
- instance
- Object
Instance komponenty, která nebyla udělena licence.
- message
- String
Zpráva o výjimce, která se má zobrazit.
Viz také
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode