TargetClientCloseTargetAsync Method |
Version 97.1.60
Closes the target. If the target is a page that gets closed too.
Namespace:
CefSharp.DevTools.Target
Assembly:
CefSharp (in CefSharp.dll) Version: 97.1.60.0 (97.1.60.0)
Syntax public Task<CloseTargetResponse> CloseTargetAsync(
string targetId
)
public:
Task<CloseTargetResponse^>^ CloseTargetAsync(
String^ targetId
)
Parameters
- targetId
- Type: SystemString
targetId
Return Value
Type:
TaskCloseTargetResponsereturns System.Threading.Tasks.Task<CloseTargetResponse>
See Also