ProGet SDK Reference
Version:

RenameAsync(string originalName, string newName) Method

Renames a file in the package store.

Syntax

protected abstract System.Threading.Tasks.Task RenameAsync(string originalName, string newName)

Parameters

originalName
Type: string

The original name of the file.

newName
Type: string

The new name of the file.

Exceptions

System.ArgumentNullException

originalName is null (Nothing in Visual Basic) or empty or newName is null (Nothing in Visual Basic) or empty.