LicenseException Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da LicenseException classe.
Sobrecargas
| Name | Description |
|---|---|
| LicenseException(Type) |
Inicializa uma nova instância da LicenseException classe para o tipo de componente que foi negado uma licença. |
| LicenseException(SerializationInfo, StreamingContext) |
Obsoleto.
Inicializa uma nova instância da LicenseException classe com os dados SerializationInfo e StreamingContext. |
| LicenseException(Type, Object) |
Inicializa uma nova instância da LicenseException classe para o tipo e para a instância do componente que foi negado uma licença. |
| LicenseException(Type, Object, String) |
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que foi recusado uma licença, juntamente com uma mensagem a mostrar. |
| LicenseException(Type, Object, String, Exception) |
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que foi recusado uma licença, juntamente com uma mensagem a mostrar e a exceção original lançada. |
LicenseException(Type)
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
Inicializa uma nova instância da LicenseException classe para o tipo de componente que foi negado uma licença.
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)
Parâmetros
Ver também
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
Aplica-se a
LicenseException(SerializationInfo, StreamingContext)
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
Atenção
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Inicializa uma nova instância da LicenseException classe com os dados SerializationInfo e 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)
Parâmetros
- info
- SerializationInfo
A SerializationInfo ser usada para desserialização.
- context
- StreamingContext
O destino a ser usado para desserialização.
- Atributos
Aplica-se a
LicenseException(Type, Object)
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
Inicializa uma nova instância da LicenseException classe para o tipo e para a instância do componente que foi negado uma licença.
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)
Parâmetros
- instance
- Object
A instância do componente que não recebeu licença.
Ver também
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
Aplica-se a
LicenseException(Type, Object, String)
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que foi recusado uma licença, juntamente com uma mensagem a mostrar.
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)
Parâmetros
- instance
- Object
A instância do componente que não recebeu licença.
- message
- String
A mensagem de exceção para mostrar.
Ver também
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode
Aplica-se a
LicenseException(Type, Object, String, Exception)
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
- Origem:
- LicenseException.cs
Inicializa uma nova instância da LicenseException classe para o tipo e a instância do componente que foi recusado uma licença, juntamente com uma mensagem a mostrar 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);
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 licença.
- message
- String
A mensagem de exceção para mostrar.
Ver também
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicFileLicenseProvider
- LicenseUsageMode