DataAsyncCommand.OnExecute (Método)

Envía el asincrónico ejecutan la operación a la llamada al método sincrónica de Execute .

Espacio de nombres:  Microsoft.VisualStudio.Data.Framework
Ensamblado:  Microsoft.VisualStudio.Data.Framework (en Microsoft.VisualStudio.Data.Framework.dll)

Sintaxis

'Declaración
Protected Overridable Function OnExecute ( _
    command As String, _
    commandType As DataCommandType, _
    parameters As IVsDataParameter(), _
    commandTimeout As Integer _
) As IVsDataReader
protected virtual IVsDataReader OnExecute(
    string command,
    DataCommandType commandType,
    IVsDataParameter[] parameters,
    int commandTimeout
)
protected:
virtual IVsDataReader^ OnExecute(
    String^ command, 
    DataCommandType commandType, 
    array<IVsDataParameter^>^ parameters, 
    int commandTimeout
)
abstract OnExecute : 
        command:string * 
        commandType:DataCommandType * 
        parameters:IVsDataParameter[] * 
        commandTimeout:int -> IVsDataReader 
override OnExecute : 
        command:string * 
        commandType:DataCommandType * 
        parameters:IVsDataParameter[] * 
        commandTimeout:int -> IVsDataReader 
protected function OnExecute(
    command : String, 
    commandType : DataCommandType, 
    parameters : IVsDataParameter[], 
    commandTimeout : int
) : IVsDataReader

Parámetros

  • command
    Tipo: System.String
    El comando que se deriva el esquema.
  • commandTimeout
    Tipo: System.Int32
    Cantidad de tiempo, en segundos, antes de que los tiempos de espera del comando.

Valor devuelto

Tipo: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
Un objeto de IVsDataReader , que proporciona una secuencia adelantada - solo, de sólo lectura del origen de datos.

Seguridad de .NET Framework

Vea también

Referencia

DataAsyncCommand Clase

Microsoft.VisualStudio.Data.Framework (Espacio de nombres)