DataAsyncCommand.OnDeriveParameters 方法
分派以非同步方式取得參數的同步處理作業 DeriveParameters 方法呼叫。
命名空間: Microsoft.VisualStudio.Data.Framework
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Protected Overridable Function OnDeriveParameters ( _
command As String, _
commandType As DataCommandType, _
commandTimeout As Integer _
) As IVsDataParameter()
protected virtual IVsDataParameter[] OnDeriveParameters(
string command,
DataCommandType commandType,
int commandTimeout
)
protected:
virtual array<IVsDataParameter^>^ OnDeriveParameters(
String^ command,
DataCommandType commandType,
int commandTimeout
)
abstract OnDeriveParameters :
command:string *
commandType:DataCommandType *
commandTimeout:int -> IVsDataParameter[]
override OnDeriveParameters :
command:string *
commandType:DataCommandType *
commandTimeout:int -> IVsDataParameter[]
protected function OnDeriveParameters(
command : String,
commandType : DataCommandType,
commandTimeout : int
) : IVsDataParameter[]
參數
- command
型別:System.String
參數是衍生自類別的命令。
- commandType
型別:Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
表示所表示之命令的 DataCommandType 列舉值的命令類型。 值會指定如何解譯 command 參數的內容。
- commandTimeout
型別:System.Int32
時間,以秒為單位),在目前的命令逾時。
傳回值
型別:array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
IVsDataParameter 物件的陣列。每個物件表示從命令衍生自類別的參數。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。