ElementNotEnabledException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ElementNotEnabledException.

Przeciążenia

ElementNotEnabledException()

Inicjuje nowe wystąpienie klasy ElementNotEnabledException.

ElementNotEnabledException(String)

Inicjuje ElementNotEnabledException nowe wystąpienie klasy z określonym komunikatem o błędzie.

ElementNotEnabledException(SerializationInfo, StreamingContext)

Inicjuje ElementNotEnabledException nowe wystąpienie klasy z informacjami o serializacji.

ElementNotEnabledException(String, Exception)

Inicjuje nowe wystąpienie ElementNotEnabledException klasy z określonym komunikatem o błędzie i odwołaniem do wewnętrznego wyjątku, który spowodował ten wyjątek.

ElementNotEnabledException()

Inicjuje nowe wystąpienie klasy ElementNotEnabledException.

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

Dotyczy

ElementNotEnabledException(String)

Inicjuje ElementNotEnabledException nowe wystąpienie klasy z określonym komunikatem o błędzie.

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)

Parametry

message
String

Opis błędu.

Dotyczy

ElementNotEnabledException(SerializationInfo, StreamingContext)

Inicjuje ElementNotEnabledException nowe wystąpienie klasy z informacjami o serializacji.

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)

Parametry

info
SerializationInfo

Dane potrzebne do serializacji lub deserializacji obiektu.

context
StreamingContext

Źródło i miejsce docelowe serializowanego strumienia.

Dotyczy

ElementNotEnabledException(String, Exception)

Inicjuje nowe wystąpienie ElementNotEnabledException klasy z określonym komunikatem o błędzie i odwołaniem do wewnętrznego wyjątku, który spowodował ten wyjątek.

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)

Parametry

message
String

Opis błędu.

innerException
Exception

Wyjątek, który spowodował wyjątek.

Dotyczy