Partager via


UstarTarEntry Constructeurs

Définition

Surcharges

UstarTarEntry(TarEntry)

Initialise une nouvelle UstarTarEntry instance en convertissant l’entrée spécifiée other au format Ustar.

UstarTarEntry(TarEntryType, String)

Initialise une nouvelle UstarTarEntry instance avec le type d’entrée et le nom d’entrée spécifiés.

UstarTarEntry(TarEntry)

Source:
UstarTarEntry.cs
Source:
UstarTarEntry.cs
Source:
UstarTarEntry.cs

Initialise une nouvelle UstarTarEntry instance en convertissant l’entrée spécifiée other au format Ustar.

public:
 UstarTarEntry(System::Formats::Tar::TarEntry ^ other);
public UstarTarEntry (System.Formats.Tar.TarEntry other);
new System.Formats.Tar.UstarTarEntry : System.Formats.Tar.TarEntry -> System.Formats.Tar.UstarTarEntry
Public Sub New (other As TarEntry)

Paramètres

other
TarEntry

Le TarEntry instance à convertir au format Ustar.

Exceptions

otherest un PaxGlobalExtendedAttributesTarEntry instance.

-ou-

Le type d’entrée de other n’est pas pris en charge dans le format Ustar.

S’applique à

UstarTarEntry(TarEntryType, String)

Source:
UstarTarEntry.cs
Source:
UstarTarEntry.cs
Source:
UstarTarEntry.cs

Initialise une nouvelle UstarTarEntry instance avec le type d’entrée et le nom d’entrée spécifiés.

public:
 UstarTarEntry(System::Formats::Tar::TarEntryType entryType, System::String ^ entryName);
public UstarTarEntry (System.Formats.Tar.TarEntryType entryType, string entryName);
new System.Formats.Tar.UstarTarEntry : System.Formats.Tar.TarEntryType * string -> System.Formats.Tar.UstarTarEntry
Public Sub New (entryType As TarEntryType, entryName As String)

Paramètres

entryType
TarEntryType

Type de l’entrée.

entryName
String

Chaîne avec le chemin d’accès et le nom de fichier de cette entrée.

Exceptions

entryName a la valeur null.

entryName est vide.

- ou -

Le type d’entrée n’est pas pris en charge pour la création d’une entrée au format Ustar.

Remarques

Lors de la création d’un instance à l’aide du UstarTarEntry(TarEntryType, String) constructeur, seuls les types d’entrée suivants sont pris en charge : Directory, SymbolicLinkHardLink, RegularFile, BlockDevice, CharacterDevice, et Fifo.

S’applique à