CreateOrUpdateUniversalPackageAsync(string packageType, string packageName, string packageVersion, string packageUrl, CollectedUniversalPackageData data) Method

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

Syntax

public abstract System.Threading.Tasks.Task CreateOrUpdateUniversalPackageAsync(string packageType, string packageName, string packageVersion, string packageUrl, CollectedUniversalPackageData data)

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.

data
Type: CollectedUniversalPackageData

Extended universal package data.

Exceptions

System.ArgumentNullException

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