IVsDataAsyncCommand.DeriveParametersAsync 方法
當由類別實作,衍生自類別,以非同步方式,將參數設定為含有指定之命令的使用。
命名空間: Microsoft.VisualStudio.Data.Services.SupportEntities
組件: Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)
語法
'宣告
Sub DeriveParametersAsync ( _
command As String, _
commandType As DataCommandType, _
commandTimeout As Integer, _
userState As Object _
)
void DeriveParametersAsync(
string command,
DataCommandType commandType,
int commandTimeout,
Object userState
)
void DeriveParametersAsync(
String^ command,
DataCommandType commandType,
int commandTimeout,
Object^ userState
)
abstract DeriveParametersAsync :
command:string *
commandType:DataCommandType *
commandTimeout:int *
userState:Object -> unit
function DeriveParametersAsync(
command : String,
commandType : DataCommandType,
commandTimeout : int,
userState : Object
)
參數
command
類型:String參數是衍生自類別的命令。
commandType
類型:Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType表示所表示之命令的 DataCommandType 列舉型別中的值順序型別,指定如何解譯 command 參數的內容。
commandTimeout
類型:Int32時間,以秒為單位),在目前的命令逾時。
userState
類型:Object呼叫這個方法的物件,以便在命令中的進度。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。