PlaybackFailureException 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
PlaybackFailureException() |
Initializes a new instance of the PlaybackFailureException class. |
PlaybackFailureException(String) |
Initializes a new instance of the PlaybackFailureException class by using the given message. |
PlaybackFailureException(SerializationInfo, StreamingContext) |
Initializes a new instance of the PlaybackFailureException class for deserialization. |
PlaybackFailureException(String, Exception) |
Initializes a new instance of the PlaybackFailureException class by using the provided message and inner exception. |
PlaybackFailureException(String, String, Exception, ILastInvocationInfo, String, Object) |
Initializes a new instance of the PlaybackFailureException class by using the default message, as well as the provided object name, action name, inner exception, last action information, control, and source of the exception. |
PlaybackFailureException(String, String, String, Exception, ILastInvocationInfo, String, Object) |
Initializes a new instance of the PlaybackFailureException class by using the provided message, object name, action name, inner exception, last action information, test control name, and exception source object. |
PlaybackFailureException()
Initializes a new instance of the PlaybackFailureException class.
public:
PlaybackFailureException();
public PlaybackFailureException ();
Public Sub New ()
Applies to
PlaybackFailureException(String)
Initializes a new instance of the PlaybackFailureException class by using the given message.
public:
PlaybackFailureException(System::String ^ message);
public PlaybackFailureException (string message);
new Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException : string -> Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException
Public Sub New (message As String)
Parameters
- message
- String
The error message.
Applies to
PlaybackFailureException(SerializationInfo, StreamingContext)
Initializes a new instance of the PlaybackFailureException class for deserialization.
protected:
PlaybackFailureException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PlaybackFailureException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
A SerializationInfo object.
- context
- StreamingContext
A StreamingContext object.
Applies to
PlaybackFailureException(String, Exception)
Initializes a new instance of the PlaybackFailureException class by using the provided message and inner exception.
public:
PlaybackFailureException(System::String ^ message, Exception ^ innerException);
public PlaybackFailureException (string message, Exception innerException);
new Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException : string * Exception -> Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message.
- innerException
- Exception
The exception that caused the current exception.
Applies to
PlaybackFailureException(String, String, Exception, ILastInvocationInfo, String, Object)
Initializes a new instance of the PlaybackFailureException class by using the default message, as well as the provided object name, action name, inner exception, last action information, control, and source of the exception.
public:
PlaybackFailureException(System::String ^ objectName, System::String ^ actionName, Exception ^ innerException, Microsoft::VisualStudio::TestTools::UITest::Extension::ILastInvocationInfo ^ lastInfo, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public PlaybackFailureException (string objectName, string actionName, Exception innerException, Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo lastInfo, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException : string * string * Exception * Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException
Public Sub New (objectName As String, actionName As String, innerException As Exception, lastInfo As ILastInvocationInfo, uiTestControl As String, exceptionSource As Object)
Parameters
- objectName
- String
The name of the UI object on which the UI test action failed.
- actionName
- String
The name of the UI test action that failed.
- innerException
- Exception
The exception that caused the current exception.
- lastInfo
- ILastInvocationInfo
An ILastInvocationInfo object that has playback information about the last action invocation.
- uiTestControl
- String
The name of the test control.
Applies to
PlaybackFailureException(String, String, String, Exception, ILastInvocationInfo, String, Object)
Initializes a new instance of the PlaybackFailureException class by using the provided message, object name, action name, inner exception, last action information, test control name, and exception source object.
public:
PlaybackFailureException(System::String ^ message, System::String ^ objectName, System::String ^ actionName, Exception ^ innerException, Microsoft::VisualStudio::TestTools::UITest::Extension::ILastInvocationInfo ^ lastInfo, System::String ^ uiTestControl, System::Object ^ exceptionSource);
public PlaybackFailureException (string message, string objectName, string actionName, Exception innerException, Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo lastInfo, string uiTestControl, object exceptionSource);
new Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException : string * string * string * Exception * Microsoft.VisualStudio.TestTools.UITest.Extension.ILastInvocationInfo * string * obj -> Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException
Public Sub New (message As String, objectName As String, actionName As String, innerException As Exception, lastInfo As ILastInvocationInfo, uiTestControl As String, exceptionSource As Object)
Parameters
- message
- String
The error message.
- objectName
- String
The name of the UI object on which the UI test action failed.
- actionName
- String
The name of the UI test action that failed.
- innerException
- Exception
The exception that caused the current exception.
- lastInfo
- ILastInvocationInfo
An ILastInvocationInfo objectthat has playback information about invoking the last action.
- uiTestControl
- String
The name of the