共用方式為


ActivationState Constructors

Definition

Overloads

ActivationState(IMauiContext)
ActivationState(IMauiContext, IPersistedState)

ActivationState(IMauiContext)

Source:
ActivationState.cs
Source:
ActivationState.cs
public:
 ActivationState(Microsoft::Maui::IMauiContext ^ context);
public ActivationState (Microsoft.Maui.IMauiContext context);
new Microsoft.Maui.ActivationState : Microsoft.Maui.IMauiContext -> Microsoft.Maui.ActivationState
Public Sub New (context As IMauiContext)

Parameters

context
IMauiContext

Applies to

ActivationState(IMauiContext, IPersistedState)

Source:
ActivationState.cs
Source:
ActivationState.cs
public:
 ActivationState(Microsoft::Maui::IMauiContext ^ context, Microsoft::Maui::IPersistedState ^ state);
public ActivationState (Microsoft.Maui.IMauiContext context, Microsoft.Maui.IPersistedState state);
new Microsoft.Maui.ActivationState : Microsoft.Maui.IMauiContext * Microsoft.Maui.IPersistedState -> Microsoft.Maui.ActivationState
Public Sub New (context As IMauiContext, state As IPersistedState)

Parameters

context
IMauiContext

Applies to