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