IVsDataAsyncCommand.ExecuteAsync, méthode

Une fois implémentée par une classe, exécute une commande de façon asynchrone.

Espace de noms :  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly :  Microsoft.VisualStudio.Data.Services (dans Microsoft.VisualStudio.Data.Services.dll)

Syntaxe

'Déclaration
Sub ExecuteAsync ( _
    command As String, _
    commandType As DataCommandType, _
    parameters As IVsDataParameter(), _
    commandTimeout As Integer, _
    userState As Object _
)
void ExecuteAsync(
    string command,
    DataCommandType commandType,
    IVsDataParameter[] parameters,
    int commandTimeout,
    Object userState
)
void ExecuteAsync(
    String^ command, 
    DataCommandType commandType, 
    array<IVsDataParameter^>^ parameters, 
    int commandTimeout, 
    Object^ userState
)
abstract ExecuteAsync : 
        command:string * 
        commandType:DataCommandType * 
        parameters:IVsDataParameter[] * 
        commandTimeout:int * 
        userState:Object -> unit
function ExecuteAsync(
    command : String, 
    commandType : DataCommandType, 
    parameters : IVsDataParameter[], 
    commandTimeout : int, 
    userState : Object
)

Paramètres

  • command
    Type : String

    Commande à exécuter.

  • commandTimeout
    Type : Int32

    Durée, en secondes, pendant lesquelles la commande l'heure.

  • userState
    Type : Object

    L'objet sur lequel cette méthode appelle réécrit comme la commande progresse.

Sécurité .NET Framework

Voir aussi

Référence

IVsDataAsyncCommand Interface

Microsoft.VisualStudio.Data.Services.SupportEntities, espace de noms