LicenseException Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância da classe LicenseException.
Sobrecargas
| Nome | Description |
|---|---|
| LicenseException(Type) |
Inicializa uma nova instância da LicenseException classe para o tipo de componente que teve uma licença negada. |
| LicenseException(SerializationInfo, StreamingContext) |
Inicializa uma nova instância da LicenseException classe com o determinado SerializationInfo e StreamingContext. |
| LicenseException(Type, Object) |
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que teve uma licença negada. |
| LicenseException(Type, Object, String) |
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que foi negada uma licença, juntamente com uma mensagem a ser exibida. |
| LicenseException(Type, Object, String, Exception) |
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que foi negada uma licença, juntamente com uma mensagem a ser exibida e a exceção original lançada. |
LicenseException(Type)
Inicializa uma nova instância da LicenseException classe para o tipo de componente que teve uma licença negada.
public:
LicenseException(Type ^ type);
public LicenseException(Type type);
new System.ComponentModel.LicenseException : Type -> System.ComponentModel.LicenseException
Public Sub New (type As Type)
Parâmetros
Confira também
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
Aplica-se a
LicenseException(SerializationInfo, StreamingContext)
Inicializa uma nova instância da LicenseException classe com o determinado SerializationInfo e 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)
Parâmetros
- info
- SerializationInfo
O SerializationInfo a ser usado para desserialização.
- context
- StreamingContext
O destino a ser usado para desserialização.
Aplica-se a
LicenseException(Type, Object)
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que teve uma licença negada.
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)
Parâmetros
- instance
- Object
A instância do componente que não recebeu uma licença.
Confira também
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
Aplica-se a
LicenseException(Type, Object, String)
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que foi negada uma licença, juntamente com uma mensagem a ser exibida.
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)
Parâmetros
- instance
- Object
A instância do componente que não recebeu uma licença.
- message
- String
A mensagem de exceção a ser exibida.
Confira também
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
Aplica-se a
LicenseException(Type, Object, String, Exception)
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que foi negada uma licença, juntamente com uma mensagem a ser exibida e a exceção original lançada.
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)
Parâmetros
- instance
- Object
A instância do componente que não recebeu uma licença.
- message
- String
A mensagem de exceção a ser exibida.
Confira também
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode