Click or drag to resize

TargetClientCloseTargetAsync Method

Version 99.2.120
Closes the target. If the target is a page that gets closed too.

Namespace:  CefSharp.DevTools.Target
Assembly:  CefSharp (in CefSharp.dll) Version: 99.2.120.0 (99.2.120.0)
Syntax
public Task<CloseTargetResponse> CloseTargetAsync(
	string targetId
)

Parameters

targetId
Type: SystemString
targetId

Return Value

Type: TaskCloseTargetResponse
returns System.Threading.Tasks.Task<CloseTargetResponse>
See Also