Show 方法 (IntPtr, String, String, String, String, String, String, String)

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。 Use Show instead.

命名空间:  Microsoft.NetEnterpriseServers
程序集:  Microsoft.NetEnterpriseServers.ExceptionMessageBox(在 Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll 中)

语法

声明
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
用法
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

参数

  • hwnd
    类型:System. . :: . .IntPtr
    标识为仅供参考。不提供支持。不保证以后的兼容性。.
  • message
    类型:System. . :: . .String
    标识为仅供参考。不提供支持。不保证以后的兼容性。.
  • source
    类型:System. . :: . .String
    标识为仅供参考。不提供支持。不保证以后的兼容性。.
  • sourceAppName
    类型:System. . :: . .String
    标识为仅供参考。不提供支持。不保证以后的兼容性。.
  • sourceAppVersion
    类型:System. . :: . .String
    标识为仅供参考。不提供支持。不保证以后的兼容性。.
  • sourceModule
    类型:System. . :: . .String
    标识为仅供参考。不提供支持。不保证以后的兼容性。.
  • sourceMessageId
    类型:System. . :: . .String
    标识为仅供参考。不提供支持。不保证以后的兼容性。.
  • sourceLanguage
    类型:System. . :: . .String
    标识为仅供参考。不提供支持。不保证以后的兼容性。.

返回值

类型:System.Windows.Forms. . :: . .DialogResult
标识为仅供参考。不提供支持。不保证以后的兼容性。.