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
)

参数

  • commandTimeout
    类型:System.Int32
    时间,秒,在前命令超时。
  • userState
    类型:System.Object
    此方法调用的对象,在命令继续。

.NET Framework 安全性

请参见

参考

IVsDataAsyncCommand 接口

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