Metodo IVsDataAsyncCommand.ExecuteAsync
Se implementata da una classe, esegue un comando in modo asincrono.
Spazio dei nomi: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Sintassi
'Dichiarazione
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
)
Parametri
command
Tipo: StringComando da eseguire.
commandType
Tipo: Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandTypeUn valore dall'enumerazione DataCommandType che rappresenta il tipo di comando per il comando indicato, specificando come interpretare il contenuto del parametro command.
parameters
Tipo: array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]Un elenco di parametri da passare al comando.
commandTimeout
Tipo: Int32Quantità di tempo, in secondi, prima della quale il comando scade.
userState
Tipo: ObjectL'oggetto su cui questo metodo chiama che supportano come il comando avanza.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
IVsDataAsyncCommand Interfaccia
Spazio dei nomi Microsoft.VisualStudio.Data.Services.SupportEntities