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) |
Obsolète.
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)
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
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);
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)
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
Attention
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
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);
[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)
Paramètres
- info
- SerializationInfo
SerializationInfo À utiliser pour la désérialisation.
- context
- StreamingContext
Destination à utiliser pour la désérialisation.
- Attributs
S’applique à
LicenseException(Type, Object)
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
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);
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)
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
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);
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)
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
- Source:
- LicenseException.cs
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);
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