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.
Overloads
ElementNotAvailableException() |
Initializes a new instance of the ElementNotAvailableException class with default values. |
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 serialized data. |
ElementNotAvailableException(String, Exception) |
Initializes a new instance of the ElementNotAvailableException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
ElementNotAvailableException()
Initializes a new instance of the ElementNotAvailableException class with default values.
public:
ElementNotAvailableException();
public ElementNotAvailableException ();
Public Sub New ()
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 Windows.UI.Xaml.Automation.ElementNotAvailableException : string -> Windows.UI.Xaml.Automation.ElementNotAvailableException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
ElementNotAvailableException(SerializationInfo, StreamingContext)
Initializes a new instance of the ElementNotAvailableException class with serialized data.
protected:
ElementNotAvailableException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected ElementNotAvailableException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new Windows.UI.Xaml.Automation.ElementNotAvailableException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Windows.UI.Xaml.Automation.ElementNotAvailableException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
Parameters
- serializationInfo
- SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- streamingContext
- StreamingContext
The StreamingContext that contains contextual information about the source or destination.
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 is the cause of this exception.
public:
ElementNotAvailableException(System::String ^ message, Exception ^ innerException);
public ElementNotAvailableException (string message, Exception innerException);
new Windows.UI.Xaml.Automation.ElementNotAvailableException : string * Exception -> Windows.UI.Xaml.Automation.ElementNotAvailableException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception, or null if no inner exception is specified.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for