SharedPackageContainerManager.CreateContainer 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.
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.
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.