Język

FileSystemInfo Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy FileSystemInfo.

Przeciążenia

Nazwa Opis
FileSystemInfo()

Inicjuje nowe wystąpienie klasy FileSystemInfo.

FileSystemInfo(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje FileSystemInfo nowe wystąpienie klasy z serializowanymi danymi.

FileSystemInfo()

Źródło:
FileSystemInfo.Unix.cs
Źródło:
FileSystemInfo.Unix.cs
Źródło:
FileSystemInfo.Unix.cs
Źródło:
FileSystemInfo.Unix.cs
Źródło:
FileSystemInfo.Unix.cs

Inicjuje nowe wystąpienie klasy FileSystemInfo.

protected:
 FileSystemInfo();
protected FileSystemInfo();
Protected Sub New ()

Uwagi

Aby uzyskać listę typowych zadań we/wy, zobacz Typowe zadania we/wy.

Zobacz też

Dotyczy

FileSystemInfo(SerializationInfo, StreamingContext)

Źródło:
FileSystemInfo.cs
Źródło:
FileSystemInfo.cs
Źródło:
FileSystemInfo.cs
Źródło:
FileSystemInfo.cs
Źródło:
FileSystemInfo.cs

Uwaga

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Inicjuje FileSystemInfo nowe wystąpienie klasy z serializowanymi danymi.

protected:
 FileSystemInfo(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected FileSystemInfo(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected FileSystemInfo(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.IO.FileSystemInfo : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.FileSystemInfo
new System.IO.FileSystemInfo : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.FileSystemInfo
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametry

info
SerializationInfo

SerializationInfo przechowujące zserializowane dane obiektu dotyczące zgłaszanego wyjątku.

context
StreamingContext

StreamingContext zawierający kontekstowe informacje o źródle lub miejscu docelowym.

Atrybuty

Wyjątki

Określony SerializationInfo parametr ma wartość null.

Uwagi

Aby uzyskać listę typowych zadań we/wy, zobacz Typowe zadania we/wy.

Zobacz też

Dotyczy