ElementNotEnabledException Costruttori

Definizione

Inizializza una nuova istanza della classe ElementNotEnabledException.

Overload

ElementNotEnabledException()

Inizializza una nuova istanza della classe ElementNotEnabledException.

ElementNotEnabledException(String)

Inizializza una nuova istanza della classe ElementNotEnabledException con un messaggio di errore specificato.

ElementNotEnabledException(SerializationInfo, StreamingContext)

Inizializza una nuova istanza della classe ElementNotEnabledException con le informazioni di serializzazione.

ElementNotEnabledException(String, Exception)

Inizializza una nuova istanza della classe ElementNotEnabledException con un messaggio di errore specificato e un riferimento all'eccezione interna che ha causato l'eccezione.

ElementNotEnabledException()

Inizializza una nuova istanza della classe ElementNotEnabledException.

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

Si applica a

ElementNotEnabledException(String)

Inizializza una nuova istanza della classe ElementNotEnabledException con un messaggio di errore specificato.

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

Parametri

message
String

Descrizione dell'errore.

Si applica a

ElementNotEnabledException(SerializationInfo, StreamingContext)

Inizializza una nuova istanza della classe ElementNotEnabledException con le informazioni di serializzazione.

protected:
 ElementNotEnabledException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ElementNotEnabledException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Automation.ElementNotEnabledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Automation.ElementNotEnabledException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametri

info
SerializationInfo

Dati necessari per serializzare o deserializzare l'oggetto.

context
StreamingContext

Origine e destinazione del flusso serializzato.

Si applica a

ElementNotEnabledException(String, Exception)

Inizializza una nuova istanza della classe ElementNotEnabledException con un messaggio di errore specificato e un riferimento all'eccezione interna che ha causato l'eccezione.

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

Parametri

message
String

Descrizione dell'errore.

innerException
Exception

Eccezione che ha causato questa eccezione.

Si applica a