Skip to content
DocsTry Aspire
DocsTry

StackOutputReference Methods

ClassMethods1 member
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
GetValueAsync(CancellationToken)Section titled GetValueAsync(CancellationToken)ValueTask<string?>
Gets the value for use as an environment variable.
public class StackOutputReference
{
public ValueTask<string?> GetValueAsync(
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
cancellationTokenCancellationTokenoptionalA Threading.CancellationToken.