PackageManager.StageUserDataAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
StageUserDataAsync(String, DeploymentOptions) |
在不注册包的情况下将 包的 漫游数据暂存到系统。 在暂存包之后、为特定用户注册包之前调用此方法。 |
StageUserDataAsync(String) |
在不注册包的情况下将 包的 漫游数据暂存到系统。 在暂存包之后、为特定用户注册包之前调用此方法。 |
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)
参数
- packageFullName
-
String
Platform::String
winrt::hstring
包的全名。
- deploymentOptions
- DeploymentOptions
DeploymentOptions 枚举中指定部署选项的枚举值的按位组合。
返回
一个 对象,调用方可以观察该对象来跟踪调用的进度和完成情况。 对象实现 IAsyncOperationWithProgress 模式。
- 属性
另请参阅
适用于
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)
参数
- packageFullName
-
String
Platform::String
winrt::hstring
包的全名。
返回
一个 对象,调用方可以观察该对象来跟踪调用的进度和完成情况。 对象实现 IAsyncOperationWithProgress 模式。
- 属性