SettingsPropertyNotFoundException 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 SettingsPropertyNotFoundException classe.
Sobrecargas
| Name | Description |
|---|---|
| SettingsPropertyNotFoundException() |
Inicializa uma nova instância da SettingsPropertyNotFoundException classe. |
| SettingsPropertyNotFoundException(String) |
Inicializa uma nova instância da SettingsPropertyNotFoundException classe, com base num parâmetro fornecido. |
| SettingsPropertyNotFoundException(SerializationInfo, StreamingContext) |
Obsoleto.
Inicializa uma nova instância da SettingsPropertyNotFoundException classe, com base nos parâmetros fornecidos. |
| SettingsPropertyNotFoundException(String, Exception) |
Inicializa uma nova instância da SettingsPropertyNotFoundException classe, com base nos parâmetros fornecidos. |
SettingsPropertyNotFoundException()
Inicializa uma nova instância da SettingsPropertyNotFoundException classe.
public:
SettingsPropertyNotFoundException();
public SettingsPropertyNotFoundException();
Public Sub New ()
Aplica-se a
SettingsPropertyNotFoundException(String)
Inicializa uma nova instância da SettingsPropertyNotFoundException classe, com base num parâmetro fornecido.
public:
SettingsPropertyNotFoundException(System::String ^ message);
public SettingsPropertyNotFoundException(string message);
new System.Configuration.SettingsPropertyNotFoundException : string -> System.Configuration.SettingsPropertyNotFoundException
Public Sub New (message As String)
Parâmetros
- message
- String
Uma cadeia contendo uma mensagem de exceção.
Aplica-se a
SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)
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 SettingsPropertyNotFoundException classe, com base nos parâmetros fornecidos.
protected:
SettingsPropertyNotFoundException(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 SettingsPropertyNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected SettingsPropertyNotFoundException(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.Configuration.SettingsPropertyNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyNotFoundException
new System.Configuration.SettingsPropertyNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parâmetros
- info
- SerializationInfo
O SerializationInfo objeto que contém os dados do objeto serializado sobre a exceção que está a ser lançada.
- context
- StreamingContext
O StreamingContext objeto que contém informação contextual sobre a origem ou destino do fluxo serializado.
- Atributos
Aplica-se a
SettingsPropertyNotFoundException(String, Exception)
Inicializa uma nova instância da SettingsPropertyNotFoundException classe, com base nos parâmetros fornecidos.
public:
SettingsPropertyNotFoundException(System::String ^ message, Exception ^ innerException);
public SettingsPropertyNotFoundException(string message, Exception innerException);
new System.Configuration.SettingsPropertyNotFoundException : string * Exception -> System.Configuration.SettingsPropertyNotFoundException
Public Sub New (message As String, innerException As Exception)
Parâmetros
- message
- String
Uma cadeia contendo uma mensagem de exceção.
- innerException
- Exception
A exceção que é a causa da exceção atual.