BookmarkCallback 委托

定义

表示在恢复 Bookmark 后调用的方法。Represents the method that is called when a Bookmark is resumed.

public delegate void BookmarkCallback(NativeActivityContext ^ context, Bookmark ^ bookmark, System::Object ^ value);
public delegate void BookmarkCallback(NativeActivityContext context, Bookmark bookmark, object value);
type BookmarkCallback = delegate of NativeActivityContext * Bookmark * obj -> unit
Public Delegate Sub BookmarkCallback(context As NativeActivityContext, bookmark As Bookmark, value As Object)

参数

context
NativeActivityContext

处理 Bookmark 恢复任务的活动的执行环境。The execution environment of the activity handling the Bookmark resumption.

bookmark
Bookmark

要恢复的 BookmarkThe Bookmark being resumed.

value
Object

Bookmark 恢复关联的数据。The data associated with the Bookmark resumption.

继承
BookmarkCallback

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于