TargetClientAttachToTargetAsync Method |
Version 130.1.90
Attaches to the target with given id.
Namespace: CefSharp.DevTools.TargetAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<AttachToTargetResponse> AttachToTargetAsync(
string targetId,
bool? flatten = null
)
public:
Task<AttachToTargetResponse^>^ AttachToTargetAsync(
String^ targetId,
Nullable<bool> flatten = nullptr
)
Parameters
- targetId String
- targetId
- flatten NullableBoolean (Optional)
- Enables "flat" access to the session via specifying sessionId attribute in the commands.We plan to make this the default, deprecate non-flattened mode,and eventually retire it. See crbug.com/991325.
Return Value
TaskAttachToTargetResponsereturns System.Threading.Tasks.Task<AttachToTargetResponse>
See Also