- owner
- Type: System.Windows.Forms.Control The control displaying the message.
- ex
- Type: System.Exception The exception to be displayed.
| Visual Basic (Declaration) | |
|---|---|
Overloads Public Shared Sub ShowError( _ ByVal owner As Control, _ ByVal ex As Exception _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim owner As Control Dim ex As Exception WorkstationMessager.ShowError(owner, ex) | |
| Managed Extensions for C++ | |
|---|---|
public: static void ShowError( Control* owner, Exception* ex ) | |
| C++/CLI | |
|---|---|
public: static void ShowError( Control^ owner, Exception^ ex ) | |
Parameters
- owner
- Type: System.Windows.Forms.Control The control displaying the message.
- ex
- Type: System.Exception The exception to 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
Copy Code