Dela via


ExceptionMessageBox.Show Method (IntPtr, String, String, String, String, String, String, String)

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use Show instead.

Namespace:  Microsoft.NetEnterpriseServers
Assembly:  Microsoft.NetEnterpriseServers.ExceptionMessageBox (in Microsoft.NetEnterpriseServers.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

Parameters

  • hwnd
    Type: System.IntPtr
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..
  • message
    Type: System.String
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..
  • source
    Type: System.String
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..
  • sourceAppName
    Type: System.String
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..
  • sourceAppVersion
    Type: System.String
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..
  • sourceModule
    Type: System.String
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..
  • sourceMessageId
    Type: System.String
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..
  • sourceLanguage
    Type: System.String
    Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..

Return Value

Type: System.Windows.Forms.DialogResult
Identified for informational purposes only. Not supported. Future compatibility is not guaranteed..