- owner
- Type: System.Windows.Forms.Control The control displaying the message.
- ex
- Type: System.Exception The exception which its message will be displayed.
Visual Basic (Declaration) | |
---|---|
Overloads Public Shared Sub ShowWarning( _ ByVal owner As Control, _ ByVal ex As Exception _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim owner As Control Dim ex As Exception WorkstationMessager.ShowWarning(owner, ex) |
Managed Extensions for C++ | |
---|---|
public: static void ShowWarning( Control* owner, Exception* ex ) |
C++/CLI | |
---|---|
public: static void ShowWarning( Control^ owner, Exception^ ex ) |
Parameters
- owner
- Type: System.Windows.Forms.Control The control displaying the message.
- ex
- Type: System.Exception The exception which its message will be displayed.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7