Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Displays the exception message box. Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt.
Namespace: Microsoft.SqlServer.MessageBox
Assembly: Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)
Syntax
'Declaration
Public Function Show ( _
hwnd As IntPtr, _
message As String, _
source As String, _
sourceAppName As String, _
sourceAppVersion As String, _
sourceModule As String, _
sourceMessageId As String, _
sourceLanguage As String _
) As DialogResult
'Usage
Dim instance As ExceptionMessageBox
Dim hwnd As IntPtr
Dim message As String
Dim source As String
Dim sourceAppName As String
Dim sourceAppVersion As String
Dim sourceModule As String
Dim sourceMessageId As String
Dim sourceLanguage As String
Dim returnValue As DialogResult
returnValue = instance.Show(hwnd, message, _
source, sourceAppName, sourceAppVersion, _
sourceModule, sourceMessageId, sourceLanguage)
public DialogResult Show(
IntPtr hwnd,
string message,
string source,
string sourceAppName,
string sourceAppVersion,
string sourceModule,
string sourceMessageId,
string sourceLanguage
)
public:
DialogResult Show(
IntPtr hwnd,
String^ message,
String^ source,
String^ sourceAppName,
String^ sourceAppVersion,
String^ sourceModule,
String^ sourceMessageId,
String^ sourceLanguage
)
member Show :
hwnd:IntPtr *
message:string *
source:string *
sourceAppName:string *
sourceAppVersion:string *
sourceModule:string *
sourceMessageId:string *
sourceLanguage:string -> DialogResult
public function Show(
hwnd : IntPtr,
message : String,
source : String,
sourceAppName : String,
sourceAppVersion : String,
sourceModule : String,
sourceMessageId : String,
sourceLanguage : String
) : DialogResult
Parameter
- hwnd
Typ: System.IntPtr
An IntPtr which is a handle to the parent window.
- message
Typ: System.String
A string containing the message for the exception associated with this instance.
- source
Typ: System.String
A string containing the source for the exception associated with this instance.
- sourceAppName
Typ: System.String
A string containing the name of the source application.
- sourceAppVersion
Typ: System.String
A string containing the source application version.
- sourceModule
Typ: System.String
A string containing the source module name.
- sourceMessageId
Typ: System.String
A string containing the source message ID.
- sourceLanguage
Typ: System.String
A string containing the source language.
Rückgabewert
Typ: System.Windows.Forms.DialogResult
The DialogResult of the button clicked by the user.