FileCache.InitializeTypeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InitializeTypeAsync(Stream, List<KeyValuePair<String,Object>>) |
Cache specific hooks to process items from HTTP response |
InitializeTypeAsync(StorageFile, List<KeyValuePair<String,Object>>) |
Cache specific hooks to process items from HTTP response |
InitializeTypeAsync(Stream, List<KeyValuePair<String,Object>>)
Cache specific hooks to process items from HTTP response
protected override System.Threading.Tasks.Task<Windows.Storage.StorageFile> InitializeTypeAsync (System.IO.Stream stream, System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string,object>> initializerKeyValues = default);
override this.InitializeTypeAsync : System.IO.Stream * System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Threading.Tasks.Task<Windows.Storage.StorageFile>
Protected Overrides Function InitializeTypeAsync (stream As Stream, Optional initializerKeyValues As List(Of KeyValuePair(Of String, Object)) = Nothing) As Task(Of StorageFile)
Parameters
- stream
- Stream
input stream
- initializerKeyValues
- List<KeyValuePair<String,Object>>
key value pairs used when initializing instance of generic type
Returns
awaitable task
Applies to
InitializeTypeAsync(StorageFile, List<KeyValuePair<String,Object>>)
Cache specific hooks to process items from HTTP response
protected override System.Threading.Tasks.Task<Windows.Storage.StorageFile> InitializeTypeAsync (Windows.Storage.StorageFile baseFile, System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string,object>> initializerKeyValues = default);
override this.InitializeTypeAsync : Windows.Storage.StorageFile * System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Threading.Tasks.Task<Windows.Storage.StorageFile>
Protected Overrides Function InitializeTypeAsync (baseFile As StorageFile, Optional initializerKeyValues As List(Of KeyValuePair(Of String, Object)) = Nothing) As Task(Of StorageFile)
Parameters
- baseFile
- Windows.Storage.StorageFile
storage file
- initializerKeyValues
- List<KeyValuePair<String,Object>>
key value pairs used when initializing instance of generic type
Returns
awaitable task