Show 方法 (IntPtr, String, String, String, String, String, String, String)
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
命名空間: Microsoft.SqlServer.MessageBox
組件: Microsoft.ExceptionMessageBox (在 Microsoft.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