Freigeben über


UstarTarEntry Konstruktoren

Definition

Überlädt

UstarTarEntry(TarEntry)

Initialisiert eine neue UstarTarEntry instance, indem der angegebene other Eintrag in das Ustar-Format konvertiert wird.

UstarTarEntry(TarEntryType, String)

Initialisiert eine neue UstarTarEntry instance mit dem angegebenen Eintragstyp und Eintragsnamen.

UstarTarEntry(TarEntry)

Quelle:
UstarTarEntry.cs
Quelle:
UstarTarEntry.cs
Quelle:
UstarTarEntry.cs

Initialisiert eine neue UstarTarEntry instance, indem der angegebene other Eintrag in das Ustar-Format konvertiert wird.

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)

Parameter

other
TarEntry

Die TarEntry instance, die in das Ustar-Format konvertiert werden soll.

Ausnahmen

otherist ein PaxGlobalExtendedAttributesTarEntry instance.

Oder

Der Eintragstyp von other wird im Ustar-Format nicht unterstützt.

Gilt für:

UstarTarEntry(TarEntryType, String)

Quelle:
UstarTarEntry.cs
Quelle:
UstarTarEntry.cs
Quelle:
UstarTarEntry.cs

Initialisiert eine neue UstarTarEntry instance mit dem angegebenen Eintragstyp und Eintragsnamen.

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)

Parameter

entryType
TarEntryType

Der Typ des Eintrags.

entryName
String

Eine Zeichenfolge mit dem Pfad und dateinamen dieses Eintrags.

Ausnahmen

entryName ist null.

entryName ist leer.

- oder -

Der Eintragstyp wird für das Erstellen eines Eintrags im Ustar-Format nicht unterstützt.

Hinweise

Beim Erstellen eines instance mithilfe des UstarTarEntry(TarEntryType, String) Konstruktors werden nur die folgenden Eintragstypen unterstützt: Directory, HardLink, SymbolicLink, RegularFile, BlockDeviceCharacterDevice, und Fifo.

Gilt für: