Share via


UITestControlNotAvailableException Constructor (String, String, Object)

Initializes a new instance of the UITestControlNotAvailableException class by using the provided message, the name of the UI test control, and the control that is the source of the exception.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public UITestControlNotAvailableException(
    string message,
    string uiTestControl,
    Object exceptionSource
)
public:
UITestControlNotAvailableException(
    String^ message, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        message:string * 
        uiTestControl:string * 
        exceptionSource:Object -> UITestControlNotAvailableException
public function UITestControlNotAvailableException(
    message : String, 
    uiTestControl : String, 
    exceptionSource : Object
)

Parameters

  • message
    Type: String

    The error message.

  • uiTestControl
    Type: String

    A string representation of the UITestControl that is blocked.

  • exceptionSource
    Type: Object

    The object that is the source of the exception.

.NET Framework Security

See Also

Reference

UITestControlNotAvailableException Class

UITestControlNotAvailableException Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITestControl