Partager via


WarningEventArgs Constructor

Initializes a new instance of the WarningEventArgs class by using the provided warning message.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    warning As String _
)
public WarningEventArgs(
    string warning
)
public:
WarningEventArgs(
    String^ warning
)
new : 
        warning:string -> WarningEventArgs
public function WarningEventArgs(
    warning : String
)

Parameters

  • warning
    Type: String

    The warning message.

.NET Framework Security

See Also

Reference

WarningEventArgs Class

Microsoft.VisualStudio.TestTools.Common Namespace