DevToolsClientExecuteDevToolsMethodAsyncT Method (String, IDictionaryString, Object) |
Version 101.0.180
Execute a method call over the DevTools protocol. This method can be called on any thread.
See the DevTools protocol documentation at https://chromedevtools.github.io/devtools-protocol/ for details
of supported methods and the expected parameters dictionary contents.
Namespace:
CefSharp.DevTools
Assembly:
CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax public Task<T> ExecuteDevToolsMethodAsync<T>(
string method,
IDictionary<string, Object> parameters = null
)
where T : DevToolsDomainResponseBase
public:
generic<typename T>
where T : DevToolsDomainResponseBase
virtual Task<T>^ ExecuteDevToolsMethodAsync(
String^ method,
IDictionary<String^, Object^>^ parameters = nullptr
) sealed
Parameters
- method
- Type: SystemString
is the method name - parameters (Optional)
- Type: System.Collections.GenericIDictionaryString, Object
are the method parameters represented as a dictionary,
which may be empty.
Type Parameters
- T
- The type into which the result will be deserialzed.
Return Value
Type:
TaskTreturn a Task that can be awaited to obtain the method result
Implements
IDevToolsClientExecuteDevToolsMethodAsyncT(String, IDictionaryString, Object)See Also