PackageManager.StageUserDataAsync 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
StageUserDataAsync(String) |
Stages a Package's roaming data to the system without registering the package. Call this method after staging the package but before registering the package for a particular user. |
StageUserDataAsync(String, DeploymentOptions) |
Stages a Package's roaming data to the system without registering the package. Call this method after staging the package but before registering the package for a particular user. |
StageUserDataAsync(String)
public:
virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ StageUserDataAsync(Platform::String ^ packageFullName) = StageUserDataAsync;
/// [Windows.Foundation.Metadata.Overload("StageUserDataAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StageUserDataAsync(winrt::hstring const& packageFullName);
[Windows.Foundation.Metadata.Overload("StageUserDataAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> StageUserDataAsync(string packageFullName);
function stageUserDataAsync(packageFullName)
Public Function StageUserDataAsync (packageFullName As String) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)
Parameters
- packageFullName
-
String
Platform::String
winrt::hstring
The full name of the package.
Returns
An object that the caller can observe to track progress and completion for the call. The object implements the IAsyncOperationWithProgress pattern.
- Attributes
See also
Applies to
StageUserDataAsync(String, DeploymentOptions)
public:
virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ StageUserDataAsync(Platform::String ^ packageFullName, DeploymentOptions deploymentOptions) = StageUserDataAsync;
/// [Windows.Foundation.Metadata.Overload("StageUserDataWithOptionsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> StageUserDataAsync(winrt::hstring const& packageFullName, DeploymentOptions const& deploymentOptions);
[Windows.Foundation.Metadata.Overload("StageUserDataWithOptionsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> StageUserDataAsync(string packageFullName, DeploymentOptions deploymentOptions);
function stageUserDataAsync(packageFullName, deploymentOptions)
Public Function StageUserDataAsync (packageFullName As String, deploymentOptions As DeploymentOptions) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)
Parameters
- packageFullName
-
String
Platform::String
winrt::hstring
The full name of the package.
- deploymentOptions
- DeploymentOptions
A bitwise combination of enumeration values from the DeploymentOptions enumeration that specify deployment options.
Returns
An object that the caller can observe to track progress and completion for the call. The object implements the IAsyncOperationWithProgress pattern.
- Attributes