PersistingComponentStateSubscription 结构

定义

表示对回调ComponentStatePersistenceManager的订阅,OnPersisting回调将在应用程序持久保存时触发。

public readonly struct PersistingComponentStateSubscription : IDisposable
type PersistingComponentStateSubscription = struct
    interface IDisposable
Public Structure PersistingComponentStateSubscription
Implements IDisposable
继承
PersistingComponentStateSubscription
实现

方法

Dispose()

表示对回调ComponentStatePersistenceManager的订阅,OnPersisting回调将在应用程序持久保存时触发。

适用于