Sprache

UstarTarEntry Konstruktoren

Definition

Überlädt

Name Beschreibung
UstarTarEntry(TarEntry)

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

UstarTarEntry(TarEntryType, String)

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

UstarTarEntry(TarEntry)

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

Initialisiert eine neue UstarTarEntry Instanz, 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 Instanz, die in das Ustar-Format konvertiert werden soll.

Ausnahmen

other ist eine PaxGlobalExtendedAttributesTarEntry Instanz.

-oder-

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

Gilt für:

UstarTarEntry(TarEntryType, String)

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

Initialisiert eine neue UstarTarEntry Instanz 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 einer Instanz mit dem UstarTarEntry(TarEntryType, String) Konstruktor werden nur die folgenden Eintragstypen unterstützt: Directory, , HardLink, , SymbolicLink, RegularFile, BlockDevice, , CharacterDeviceund Fifo.

Gilt für: