LicenseException Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe LicenseException.
Surcharges
| Nom | Description |
|---|---|
| LicenseException(Type) |
Initialise une nouvelle instance de la classe LicenseException pour le type de composant qui a été refusé à une licence. |
| LicenseException(SerializationInfo, StreamingContext) |
Initialise une nouvelle instance de la classe LicenseException avec le SerializationInfo et le StreamingContextdonnés. |
| LicenseException(Type, Object) |
Initialise une nouvelle instance de la classe LicenseException pour le type et l’instance du composant qui a été refusé à une licence. |
| LicenseException(Type, Object, String) |
Initialise une nouvelle instance de la classe LicenseException pour le type et l’instance du composant qui a été refusé une licence, ainsi qu’un message à afficher. |
| LicenseException(Type, Object, String, Exception) |
Initialise une nouvelle instance de la classe LicenseException pour le type et l’instance du composant qui a été refusé une licence, ainsi qu’un message à afficher et l’exception d’origine levée. |
LicenseException(Type)
Initialise une nouvelle instance de la classe LicenseException pour le type de composant qui a été refusé à une licence.
public:
LicenseException(Type ^ type);
public LicenseException(Type type);
new System.ComponentModel.LicenseException : Type -> System.ComponentModel.LicenseException
Public Sub New (type As Type)
Paramètres
Voir aussi
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
S’applique à
LicenseException(SerializationInfo, StreamingContext)
Initialise une nouvelle instance de la classe LicenseException avec le SerializationInfo et le StreamingContextdonnés.
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)
Paramètres
- info
- SerializationInfo
SerializationInfo À utiliser pour la désérialisation.
- context
- StreamingContext
Destination à utiliser pour la désérialisation.
S’applique à
LicenseException(Type, Object)
Initialise une nouvelle instance de la classe LicenseException pour le type et l’instance du composant qui a été refusé à une licence.
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)
Paramètres
- instance
- Object
Instance du composant qui n’a pas reçu de licence.
Voir aussi
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
S’applique à
LicenseException(Type, Object, String)
Initialise une nouvelle instance de la classe LicenseException pour le type et l’instance du composant qui a été refusé une licence, ainsi qu’un message à afficher.
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)
Paramètres
- instance
- Object
Instance du composant qui n’a pas reçu de licence.
- message
- String
Message d’exception à afficher.
Voir aussi
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
S’applique à
LicenseException(Type, Object, String, Exception)
Initialise une nouvelle instance de la classe LicenseException pour le type et l’instance du composant qui a été refusé une licence, ainsi qu’un message à afficher et l’exception d’origine levée.
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)
Paramètres
- instance
- Object
Instance du composant qui n’a pas reçu de licence.
- message
- String
Message d’exception à afficher.
Voir aussi
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode