Class CogniteClientExtensions
Extension utility methods for CogniteSdk.Client
Inherited Members
Namespace: Cognite.Extractor.Utils
Assembly: ExtractorUtils.dll
Syntax
public static class CogniteClientExtensions
Methods
| Edit this page View SourceTestCogniteConfig(Client, CogniteConfig, CancellationToken)
Verifies that the client
configured according to config
can access Cognite Data Fusion
Declaration
public static Task TestCogniteConfig(this Client client, CogniteConfig config, CancellationToken token)
Parameters
Type | Name | Description |
---|---|---|
Client | client | Cognite SDK client |
CogniteConfig | config | Configuration object |
CancellationToken | token | Cancellation token |
Returns
Type | Description |
---|---|
Task |
Exceptions
Type | Condition |
---|---|
CogniteUtilsException | Thrown when credentials are invalid or the client cannot be used to access CDF resources |