PersistedStateSerializationMode Enum

Definition

Specifies the mode to use when serializing component persistent state.

C#
public enum PersistedStateSerializationMode
Inheritance
PersistedStateSerializationMode

Fields

Name Value Description
Infer 1

Indicates that the serialization mode should be inferred from the current request context.

Server 2

Indicates that the state should be persisted so that execution may resume on Server.

WebAssembly 3

Indicates that the state should be persisted so that execution may resume on WebAssembly.

Applies to

Product Versions
ASP.NET Core 8.0, 9.0