Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Shared Function LastPageAsync(Of T)( _ ByVal source As IPager(Of T), _ ByVal onSuccess As Action(Of Page(Of T)), _ ByVal onFail As Action(Of Exception) _ ) As PageOperationResult(Of T) |
Visual Basic (Usage) | ![]() |
---|---|
Dim source As IPager(Of T) Dim onSuccess As Action(Of Page(Of T)) Dim onFail As Action(Of Exception) Dim value As PageOperationResult(Of T) value = Compatibility.LastPageAsync(Of T)(source, onSuccess, onFail) |
C# | |
---|---|
[ExtensionAttribute()] public static PageOperationResult<T> LastPageAsync<T>( IPager<T> source, Action<Page<T>> onSuccess, Action<Exception> onFail ) |
C++/CLI | |
---|---|
[ExtensionAttribute()] public: static PageOperationResult<T^>^ LastPageAsyncgeneric<typename T> ( IPager<T^>^ source, Action<Page<T^>^>^ onSuccess, Action<Exception^>^ onFail ) |
Parameters
- source
- onSuccess
- onFail
Type Parameters
- T
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family