Otter SDK Reference
Version:

GetEnvironmentVariableValueAsync(string name) Method

Returns the value of the specified environment variable.

Syntax

public abstract Task<string> GetEnvironmentVariableValueAsync(string name)

Parameters

name
Type: string

The name of the variable.

Returns

The value of the variable if it is defined; otherwise null (Nothing in Visual Basic).

Exceptions

System.ArgumentNullException

name is null (Nothing in Visual Basic) or empty.