OneDriveStorageHelper.CreateForCurrentUserAsync(IObjectSerializer) 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.
Creates a new instance using the userId retrieved from a Graph "Me" request.
public static System.Threading.Tasks.Task<CommunityToolkit.Graph.Helpers.RoamingSettings.OneDriveStorageHelper> CreateForCurrentUserAsync(Microsoft.Toolkit.Helpers.IObjectSerializer objectSerializer = default);
static member CreateForCurrentUserAsync : Microsoft.Toolkit.Helpers.IObjectSerializer -> System.Threading.Tasks.Task<CommunityToolkit.Graph.Helpers.RoamingSettings.OneDriveStorageHelper>
Public Shared Function CreateForCurrentUserAsync (Optional objectSerializer As IObjectSerializer = Nothing) As Task(Of OneDriveStorageHelper)
Parameters
- objectSerializer
- IObjectSerializer
A serializer used for converting stored objects.
Returns
A new instance of the OneDriveStorageHelper configured for the current Graph user.