ElementNotAvailableException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ElementNotAvailableException class.
Overloads
ElementNotAvailableException() |
Initializes a new instance of the ElementNotAvailableException class. |
ElementNotAvailableException(Exception) |
Initializes a new instance of the ElementNotAvailableException class with a reference to the inner exception that caused this exception. |
ElementNotAvailableException(String) |
Initializes a new instance of the ElementNotAvailableException class with a specified error message. |
ElementNotAvailableException(SerializationInfo, StreamingContext) |
Initializes a new instance of the ElementNotAvailableException class with serialization information. |
ElementNotAvailableException(String, Exception) |
Initializes a new instance of the ElementNotAvailableException class with a specified error message and a reference to the inner exception that caused this exception. |
ElementNotAvailableException()
Initializes a new instance of the ElementNotAvailableException class.
public:
ElementNotAvailableException();
public ElementNotAvailableException ();
Public Sub New ()
Applies to
ElementNotAvailableException(Exception)
Initializes a new instance of the ElementNotAvailableException class with a reference to the inner exception that caused this exception.
public:
ElementNotAvailableException(Exception ^ innerException);
public ElementNotAvailableException (Exception innerException);
new System.Windows.Automation.ElementNotAvailableException : Exception -> System.Windows.Automation.ElementNotAvailableException
Public Sub New (innerException As Exception)
Parameters
- innerException
- Exception
The exception that caused this exception.
Applies to
ElementNotAvailableException(String)
Initializes a new instance of the ElementNotAvailableException class with a specified error message.
public:
ElementNotAvailableException(System::String ^ message);
public ElementNotAvailableException (string message);
new System.Windows.Automation.ElementNotAvailableException : string -> System.Windows.Automation.ElementNotAvailableException
Public Sub New (message As String)
Parameters
- message
- String
The description of the error.
Applies to
ElementNotAvailableException(SerializationInfo, StreamingContext)
Initializes a new instance of the ElementNotAvailableException class with serialization information.
protected:
ElementNotAvailableException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ElementNotAvailableException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Automation.ElementNotAvailableException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Automation.ElementNotAvailableException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Data needed to serialize or deserialize the object.
- context
- StreamingContext
The source and destination of the serialized stream.
Applies to
ElementNotAvailableException(String, Exception)
Initializes a new instance of the ElementNotAvailableException class with a specified error message and a reference to the inner exception that caused this exception.
public:
ElementNotAvailableException(System::String ^ message, Exception ^ innerException);
public ElementNotAvailableException (string message, Exception innerException);
new System.Windows.Automation.ElementNotAvailableException : string * Exception -> System.Windows.Automation.ElementNotAvailableException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The description of the error.
- innerException
- Exception
The exception that caused this exception.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για