Partager via


ResourceStateSnapshot(String, String) Constructor

Definition

A snapshot of the resource state

public ResourceStateSnapshot (string Text, string? Style);
new Aspire.Hosting.ApplicationModel.ResourceStateSnapshot : string * string -> Aspire.Hosting.ApplicationModel.ResourceStateSnapshot
Public Sub New (Text As String, Style As String)

Parameters

Text
String

The text for the state update. See KnownResourceStates for expected values.

Style
String

The style for the state update. Use for the supported styles.

Applies to