PlaybackErrorEventArgs Class

Represents the event arguments that are available when an action fails during a test playback.

Inheritance Hierarchy

Object
  EventArgs
    Microsoft.VisualStudio.TestTools.UITesting.PlaybackErrorEventArgs

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public Class PlaybackErrorEventArgs _
    Inherits EventArgs
[CLSCompliantAttribute(true)]
public class PlaybackErrorEventArgs : EventArgs
[CLSCompliantAttribute(true)]
public ref class PlaybackErrorEventArgs : public EventArgs
[<CLSCompliantAttribute(true)>]
type PlaybackErrorEventArgs =  
    class 
        inherit EventArgs 
    end
public class PlaybackErrorEventArgs extends EventArgs

The PlaybackErrorEventArgs type exposes the following members.

Constructors

  Name Description
Public method PlaybackErrorEventArgs Initializes a new instance of the PlaybackErrorEventArgs class by using the provided exception.

Top

Properties

  Name Description
Public property Error Gets the exception that caused the playback error event.
Public property Result Gets or sets a user choice for the result of the error.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITesting Namespace