Freigeben über


IWebMatrixHost.CreateWaitDialog-Methode

Die folgenden Ausführungen gelten für v2.

Erstellt ein Wartedialogfeld.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Function CreateWaitDialog ( _
    title As String, _
    message As String, _
    dialogSize As DialogSize, _
    delayShow As Nullable(Of TimeSpan), _
    onCancel As Func _
) As IWaitDialog
'Usage
Dim instance As IWebMatrixHost 
Dim title As String 
Dim message As String 
Dim dialogSize As DialogSize 
Dim delayShow As Nullable(Of TimeSpan)
Dim onCancel As Func 
Dim returnValue As IWaitDialog 

returnValue = instance.CreateWaitDialog(title, _
    message, dialogSize, delayShow, onCancel)
IWaitDialog CreateWaitDialog(
    string title,
    string message,
    DialogSize dialogSize,
    Nullable<TimeSpan> delayShow,
    Func onCancel
)
IWaitDialog^ CreateWaitDialog(
    String^ title, 
    String^ message, 
    DialogSize dialogSize, 
    Nullable<TimeSpan> delayShow, 
    Func^ onCancel
)
abstract CreateWaitDialog : 
        title:string * 
        message:string * 
        dialogSize:DialogSize * 
        delayShow:Nullable<TimeSpan> * 
        onCancel:Func -> IWaitDialog
function CreateWaitDialog(
    title : String, 
    message : String, 
    dialogSize : DialogSize, 
    delayShow : Nullable<TimeSpan>, 
    onCancel : Func
) : IWaitDialog

Parameter

  • onCancel
    Typ: System.Func<TResult>

    Das Ereignis, das beim Schließen des Dialogfelds mit einem Befehl eintritt.

Rückgabewert

Typ: Microsoft.WebMatrix.Extensibility.IWaitDialog
Das erstellte Wartedialogfeld.

Siehe auch

Verweis

IWebMatrixHost Schnittstelle

Microsoft.WebMatrix.Extensibility-Namespace