ProGet SDK Reference
Version:

CreatePackageAsync(PackageStorePackageId packageId) Method

Returns an empty stream which can be used to write a new package to the store.

Syntax

public virtual Task<System.IO.Stream> CreatePackageAsync(PackageStorePackageId packageId)

Parameters

packageId
Type: PackageStorePackageId

The ID of the package to create.

Returns

Empty stream backed by the new package.

Exceptions

System.ArgumentNullException

packageId is null (Nothing in Visual Basic).