ElementNotEnabledException Construtores

Definição

Sobrecargas

ElementNotEnabledException()

Inicializa uma nova instância da classe ElementNotEnabledException com valores padrão.Initializes a new instance of the ElementNotEnabledException class with default values.

ElementNotEnabledException(String)

Inicializa uma nova instância da classe ElementNotEnabledException com uma mensagem de erro especificada.Initializes a new instance of the ElementNotEnabledException class with a specified error message.

ElementNotEnabledException(String, Exception)

Inicializa uma nova instância da classe ElementNotEnabledException, com uma mensagem de erro especificada e uma referência à exceção interna que é a causa dessa exceção.Initializes a new instance of the ElementNotEnabledException class, with a specified error message and a reference to the inner exception that is the cause of this exception.

ElementNotEnabledException()

Inicializa uma nova instância da classe ElementNotEnabledException com valores padrão.Initializes a new instance of the ElementNotEnabledException class with default values.

public:
 ElementNotEnabledException();
public ElementNotEnabledException ();
Public Sub New ()

Aplica-se a

ElementNotEnabledException(String)

Inicializa uma nova instância da classe ElementNotEnabledException com uma mensagem de erro especificada.Initializes a new instance of the ElementNotEnabledException class with a specified error message.

public:
 ElementNotEnabledException(System::String ^ message);
public ElementNotEnabledException (string message);
new Windows.UI.Xaml.Automation.ElementNotEnabledException : string -> Windows.UI.Xaml.Automation.ElementNotEnabledException
Public Sub New (message As String)

Parâmetros

message
String

A mensagem que descreve o erro.The message that describes the error.

Aplica-se a

ElementNotEnabledException(String, Exception)

Inicializa uma nova instância da classe ElementNotEnabledException, com uma mensagem de erro especificada e uma referência à exceção interna que é a causa dessa exceção.Initializes a new instance of the ElementNotEnabledException class, with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 ElementNotEnabledException(System::String ^ message, Exception ^ innerException);
public ElementNotEnabledException (string message, Exception innerException);
new Windows.UI.Xaml.Automation.ElementNotEnabledException : string * Exception -> Windows.UI.Xaml.Automation.ElementNotEnabledException
Public Sub New (message As String, innerException As Exception)

Parâmetros

message
String

A mensagem que descreve o erro.The message that describes the error.

innerException
Exception

A exceção que é a causa da exceção atual ou null se nenhuma exceção interna é especificada.The exception that is the cause of the current exception, or null if no inner exception is specified.

Aplica-se a