TargetClientGetTargetsAsync Method |
Version 109.1.110
Retrieves a list of available targets.
Namespace:
CefSharp.DevTools.Target
Assembly:
CefSharp (in CefSharp.dll) Version: 109.1.110.0 (109.1.110.0)
Syntax public Task<GetTargetsResponse> GetTargetsAsync(
IList<TargetFilter> filter = null
)
public:
Task<GetTargetsResponse^>^ GetTargetsAsync(
IList<TargetFilter^>^ filter = nullptr
)
Parameters
- filter (Optional)
- Type: System.Collections.GenericIListTargetFilter
Only targets matching filter will be reported. If filter is not specifiedand target discovery is currently enabled, a filter used for target discoveryis used for consistency.
Return Value
Type:
TaskGetTargetsResponsereturns System.Threading.Tasks.Task<GetTargetsResponse>
See Also