Udostępnij za pośrednictwem


Metoda Show (IntPtr, String, String, String, String, String, String, String)

Ta funkcja zostanie usunięta z przyszłej wersji programu Microsoft SQL Server. Należy unikać stosowania tej funkcji w nowych projektach oraz zaplanować modyfikację aplikacji, w których obecnie jest używana ta funkcja.Użyj Show zamiast.

Przestrzeń nazw:  Microsoft.NetEnterpriseServers
Zestaw:  Microsoft.NetEnterpriseServers.ExceptionMessageBox (w Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)

Syntax

'Deklaracja
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
'Użycie
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
    Typ: System. . :: . .IntPtr
    Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana..
  • message
    Typ: System. . :: . .String
    Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana..
  • source
    Typ: System. . :: . .String
    Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana..
  • sourceAppName
    Typ: System. . :: . .String
    Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana..
  • sourceAppVersion
    Typ: System. . :: . .String
    Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana..
  • sourceModule
    Typ: System. . :: . .String
    Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana..
  • sourceMessageId
    Typ: System. . :: . .String
    Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana..
  • sourceLanguage
    Typ: System. . :: . .String
    Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana..

Wartość zwracana

Typ: System.Windows.Forms. . :: . .DialogResult
Określone tylko w celach informacyjnych. Nieobsługiwane. Przyszła zgodność nie jest gwarantowana..