非同期を実装します Execute 同期のメソッド呼び出しに操作をディスパッチします。
名前空間: Microsoft.VisualStudio.Data.Framework
アセンブリ: Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)
構文
'宣言
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
パラメーター
- command
型 : System.String
スキーマが派生するコマンド。
- commandType
型 : Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
名前付きコマンドのコマンドの型を表す DataCommandType の列挙体の値。値は command のパラメーターの内容を解釈する方法を指定します。
- parameters
型 : array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
コマンドに渡すパラメーターのリスト。
- commandTimeout
型 : System.Int32
時間、コマンドがタイムアウト秒単位)。
戻り値
型 : Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
データ ソースの前方スクロール専用、読み取り専用ストリームを提供する IVsDataReader のオブジェクト。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。