Share via


FailedToPerformActionOnBlockedControlException Class

Definition

The exception that is thrown when a user interface (UI) control is blocked (for example, a control may be blocked by a modal dialog box).

public ref class FailedToPerformActionOnBlockedControlException : Microsoft::VisualStudio::TestTools::UITest::Extension::PlaybackFailureException
[System.Serializable]
public class FailedToPerformActionOnBlockedControlException : Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException
[<System.Serializable>]
type FailedToPerformActionOnBlockedControlException = class
    inherit PlaybackFailureException
Public Class FailedToPerformActionOnBlockedControlException
Inherits PlaybackFailureException
Inheritance
FailedToPerformActionOnBlockedControlException
Attributes

Constructors

FailedToPerformActionOnBlockedControlException()

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class.

FailedToPerformActionOnBlockedControlException(SerializationInfo, StreamingContext)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided serialization data and context.

FailedToPerformActionOnBlockedControlException(String, Exception)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided message and inner exception.

FailedToPerformActionOnBlockedControlException(String, String, Exception, ILastInvocationInfo, IntPtr, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided object name, action name, inner exception, last invocation information, window handle, UI test control, and source.

FailedToPerformActionOnBlockedControlException(String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided control name, action name, inner exception, last invocation information, UI test control, and source.

FailedToPerformActionOnBlockedControlException(String, String, String, Exception, ILastInvocationInfo, IntPtr, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided message, object name, action name, inner exception, last invocation information, window handle, UI test control, and source.

FailedToPerformActionOnBlockedControlException(String, String, String, Exception, ILastInvocationInfo, String, Object)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided message, object name, action name, inner exception, last invocation information, window handle, UI test control, and source.

FailedToPerformActionOnBlockedControlException(String)

Initializes a new instance of the FailedToPerformActionOnBlockedControlException class by using the provided error message.

Properties

Action

Gets or sets the name of the action.

(Inherited from PlaybackFailureException)
BasicMessage

Gets the basic error message.

(Inherited from UITestException)
DefaultMessage

Gets the default error message that is configured for this exception type.

ErrorInfo

Gets or sets information about the UI test action that caused the exception.

(Inherited from UITestException)
ExceptionSource

Gets or sets the control that is the source of this exception.

(Inherited from UITestException)
HResult

Gets or sets the HRESULT for this exception.

(Inherited from UITestException)
Message

Gets the message that was provided when this exception object was created.

(Inherited from UITestException)
ObjectName

Gets or sets the source object name.

(Inherited from PlaybackFailureException)
WindowHandle

Gets the handle of the window that blocks control.

Methods

GetObjectData(SerializationInfo, StreamingContext)

[SECURITY CRITICAL] Fills the provided serialization information object with the serialized version of this exception by using the provided context.

SetHResult(UInt32)

Sets the corresponding HRESULT for this exception.

(Inherited from UITestException)

Applies to