Udostępnij za pośrednictwem


SharedPackageContainerManager.CreateContainer Method

Definition

public:
 virtual CreateSharedPackageContainerResult ^ CreateContainer(Platform::String ^ name, CreateSharedPackageContainerOptions ^ options) = CreateContainer;
CreateSharedPackageContainerResult CreateContainer(winrt::hstring const& name, CreateSharedPackageContainerOptions const& options);
public CreateSharedPackageContainerResult CreateContainer(string name, CreateSharedPackageContainerOptions options);
function createContainer(name, options)
Public Function CreateContainer (name As String, options As CreateSharedPackageContainerOptions) As CreateSharedPackageContainerResult

Parameters

name
String

Platform::String

winrt::hstring

A string containing the name of the created package.

options
CreateSharedPackageContainerOptions

A CreateSharedPackageContainerOptions specifying the options for the create operation.

Returns

A CreateSharedPackageContainerResult that provides status information about the create operation and access to the created SharedPackageContainer object.

Remarks

Packages in the specified families will launch inside the created container. This method can be called multiple times with the same container name to update the definition.

Applies to