Share via


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: Exception

    The exception that caused the playback error event.

.NET Framework Security

See Also

Reference

PlaybackErrorEventArgs Class

Microsoft.VisualStudio.TestTools.UITesting Namespace