PackageAccessPolicy(bool canDownload, string description) Constructor

Initializes a new instance of the PackageAccessPolicy struct.

Syntax

public .ctor(bool canDownload, string description)

Parameters

canDownload
Type: bool

Value indicating whether the package can be downloaded.

description
Type: string

Description of the access policy; typically this is only shown when canDownload is false.