Aracılığıyla paylaş


UITestControlNotFoundException Oluşturucu (PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, ILastInvocationInfo, String, Object)

Yeni bir örneğini başlatır UITestControlNotFoundException sınıfı kullanarak sağlanan birincil denetim özellikleri, ikincil denetim özellikleri, iç özel duruma, son çağırma bilgi, UI sınama denetim ve kaynak.

Ad alanı:  Microsoft.VisualStudio.TestTools.UITest.Extension
Derleme:  Microsoft.VisualStudio.TestTools.UITest.Extension (Microsoft.VisualStudio.TestTools.UITest.Extension.dll içinde)

Sözdizimi

'Bildirim
Public Sub New ( _
    primaryProperties As PropertyExpressionCollection, _
    secondaryProperties As PropertyExpressionCollection, _
    root As String, _
    innerException As Exception, _
    lastInfo As ILastInvocationInfo, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public UITestControlNotFoundException(
    PropertyExpressionCollection primaryProperties,
    PropertyExpressionCollection secondaryProperties,
    string root,
    Exception innerException,
    ILastInvocationInfo lastInfo,
    string uiTestControl,
    Object exceptionSource
)
public:
UITestControlNotFoundException(
    PropertyExpressionCollection^ primaryProperties, 
    PropertyExpressionCollection^ secondaryProperties, 
    String^ root, 
    Exception^ innerException, 
    ILastInvocationInfo^ lastInfo, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        primaryProperties:PropertyExpressionCollection * 
        secondaryProperties:PropertyExpressionCollection * 
        root:string * 
        innerException:Exception * 
        lastInfo:ILastInvocationInfo * 
        uiTestControl:string * 
        exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
    primaryProperties : PropertyExpressionCollection, 
    secondaryProperties : PropertyExpressionCollection, 
    root : String, 
    innerException : Exception, 
    lastInfo : ILastInvocationInfo, 
    uiTestControl : String, 
    exceptionSource : Object
)

Parametreler

  • exceptionSource
    Tür: System.Object
    object Yani kaynağı özel durum.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

UITestControlNotFoundException Sınıf

UITestControlNotFoundException Fazla Yük

Microsoft.VisualStudio.TestTools.UITest.Extension Ad Alanı

ILastInvocationInfo

UITestControl