FileSystemInfo Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy FileSystemInfo.

Przeciążenia

FileSystemInfo()

Inicjuje nowe wystąpienie klasy FileSystemInfo.

FileSystemInfo(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje nowe wystąpienie klasy FileSystemInfo z zserializowanymi danymi.

FileSystemInfo()

Ź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

Przestroga

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

Inicjuje nowe wystąpienie klasy FileSystemInfo z zserializowanymi danymi.

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}")]
protected FileSystemInfo (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IO.FileSystemInfo : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.FileSystemInfo
[<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
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametry

info
SerializationInfo

Obiekt SerializationInfo zawierający dane zserializowanego obiektu dotyczące zgłaszanego wyjątku.

context
StreamingContext

Obiekt StreamingContext zawierający informacje kontekstowe dotyczące źródła lub miejsca docelowego.

Atrybuty

Wyjątki

Określona wartość SerializationInfo ma wartość null.

Uwagi

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

Zobacz też

Dotyczy