Class UnmanagedBrowsingService
Unmanaged Service.
Inherited Members
Namespace: Gee.External.Browsing.Services
Assembly: Gee.External.Browsing.dll
Syntax
public sealed class UnmanagedBrowsingService : BaseBrowsingService, IBrowsingService, IDisposable
Methods
Build()
Build an Unmanaged Service.
Declaration
public static UnmanagedBrowsingServiceBuilder Build()
Returns
Type | Description |
---|---|
UnmanagedBrowsingServiceBuilder | An UnmanagedBrowsingServiceBuilder to build an unmanaged service with. |
Dispose()
Dispose Object.
Declaration
public override void Dispose()
Overrides
LookupAsync(Url, CancellationToken)
Lookup a URL.
Declaration
public override Task<UrlLookupResult> LookupAsync(Url url, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Url | url | A Url to lookup. |
System.Threading.CancellationToken | cancellationToken | A cancellation token to cancel the asynchronous operation with. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<UrlLookupResult> | A UrlLookupResult indicating whether |
Overrides
Exceptions
Type | Condition |
---|---|
BrowsingCacheException | Thrown if a caching error occurs. If you're not interested in handling this exception, catch BrowsingException instead. |
BrowsingClientException | Thrown if an error communicating with the Google Safe Browsing API occurs. If you're not interested in handling this exception, catch BrowsingException instead. |
BrowsingDatabaseException | Thrown if a database error occurs. If you're not interested in handling this exception, catch BrowsingException instead. |
System.ArgumentNullException | Thrown if |
System.ObjectDisposedException | Thrown if the object is disposed. |
System.OperationCanceledException | Thrown if the asynchronous operation is cancelled. |