CreateOrUpdatePackageAsync(string packageType, string packageName, string packageVersion, string packageUrl) Method

Creates a record of the specified package on the server in the current context, or updates an existing record.

Syntax

public abstract System.Threading.Tasks.Task CreateOrUpdatePackageAsync(string packageType, string packageName, string packageVersion, string packageUrl)

Parameters

packageType
Type: string

The type of the package.

packageName
Type: string

The name of the package.

packageVersion
Type: string

The version of the package.

packageUrl
Type: string

The URL associated with the package.

Exceptions

System.ArgumentNullException

packageType is null (Nothing in Visual Basic) or empty or packageName is null (Nothing in Visual Basic) or empty.