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
- 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.