DataAsyncCommand.DeriveParametersAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
以异步方式派生,这是一组用于指定命令的参数。
public:
virtual void DeriveParametersAsync(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType, int commandTimeout, System::Object ^ userState);
public void DeriveParametersAsync (string command, Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType commandType, int commandTimeout, object userState);
abstract member DeriveParametersAsync : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * int * obj -> unit
override this.DeriveParametersAsync : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * int * obj -> unit
Public Sub DeriveParametersAsync (command As String, commandType As DataCommandType, commandTimeout As Integer, userState As Object)
参数
- command
- String
为其派生参数的命令。
- commandType
- DataCommandType
一个来自枚举的值,该值 DataCommandType 表示指定命令的命令类型。 值指定如何解释参数的内容 command 。
- commandTimeout
- Int32
命令超时之前的时间量(以秒为单位)。
- userState
- Object
异步进程的唯一标识符。
实现
例外
command或 userState 参数为 null。
commandTimeout 参数小于 -1。