ResourceEvent(IResource, String, CustomResourceSnapshot) Constructor
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.
Represents a change in the state of a resource.
public ResourceEvent (Aspire.Hosting.ApplicationModel.IResource resource, string resourceId, Aspire.Hosting.ApplicationModel.CustomResourceSnapshot snapshot);
new Aspire.Hosting.ApplicationModel.ResourceEvent : Aspire.Hosting.ApplicationModel.IResource * string * Aspire.Hosting.ApplicationModel.CustomResourceSnapshot -> Aspire.Hosting.ApplicationModel.ResourceEvent
Public Sub New (resource As IResource, resourceId As String, snapshot As CustomResourceSnapshot)
Parameters
- resource
- IResource
The resource associated with the event.
- resourceId
- String
The unique id of the resource.
- snapshot
- CustomResourceSnapshot
The snapshot of the resource state.