共用方式為


StatefulService.HasPersistedState Property

Definition

Gets a value that determines whether the current service has persisted state.

public bool HasPersistedState { get; }
member this.HasPersistedState : bool
Public ReadOnly Property HasPersistedState As Boolean

Property Value

true if the current service has persisted state; otherwise, false.

Applies to