Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the UITestWarningEventArgs class.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
action As UITestAction, _
ex As Exception, _
warning As String _
)
public UITestWarningEventArgs(
UITestAction action,
Exception ex,
string warning
)
public:
UITestWarningEventArgs(
UITestAction^ action,
Exception^ ex,
String^ warning
)
new :
action:UITestAction *
ex:Exception *
warning:string -> UITestWarningEventArgs
public function UITestWarningEventArgs(
action : UITestAction,
ex : Exception,
warning : String
)
Parameters
action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionA UITestAction object.
ex
Type: ExceptionThe Exception that has information about the problem that occurred.
warning
Type: StringThe text that explains the nature of the warning.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.