PlaybackErrorEventArgs Constructor
Initializes a new instance of the PlaybackErrorEventArgs class by using the provided exception.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Sub New ( _
ex As Exception _
)
public PlaybackErrorEventArgs(
Exception ex
)
public:
PlaybackErrorEventArgs(
Exception^ ex
)
new :
ex:Exception -> PlaybackErrorEventArgs
public function PlaybackErrorEventArgs(
ex : Exception
)
Parameters
ex
Type: ExceptionThe exception that caused the playback error event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.