ActivationState 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| ActivationState(IMauiContext) | |
| ActivationState(IMauiContext, IPersistedState) |
ActivationState(IMauiContext)
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)
参数
- context
- IMauiContext
适用于
ActivationState(IMauiContext, IPersistedState)
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)
参数
- context
- IMauiContext
- state
- IPersistedState