IResourceContainerImageBuilder.BuildImageAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds a container that represents the specified resource.
public System.Threading.Tasks.Task BuildImageAsync(Aspire.Hosting.ApplicationModel.IResource resource, System.Threading.CancellationToken cancellationToken);
abstract member BuildImageAsync : Aspire.Hosting.ApplicationModel.IResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function BuildImageAsync (resource As IResource, cancellationToken As CancellationToken) As Task
Parameters
- resource
- IResource
The resource to build.
- cancellationToken
- CancellationToken
The cancellation token.