共用方式為


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

    參數是衍生自類別的命令。

  • commandTimeout
    類型:Int32

    時間,以秒為單位),在目前的命令逾時。

  • userState
    類型:Object

    呼叫這個方法的物件,以便在命令中的進度。

.NET Framework 安全性

請參閱

參考

IVsDataAsyncCommand 介面

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空間