当实现由选件类,派生,以异步方式,将参数设置为具有指定的命令的使用。
命名空间: 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
类型:System.String
参数派生的命令。
- commandType
类型:Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType
从表示指示的命令 DataCommandType 枚举的值命令类型,指定如何解释 command 参数的内容。
- commandTimeout
类型:System.Int32
时间,秒,在前命令超时。
- userState
类型:System.Object
此方法调用的对象,在命令继续。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。