Aracılığıyla paylaş


ReparsePointAware.RequireNoReparsePoints(String, Boolean) Yöntem

Tanım

Kurallı yol expectedPath ile aynı değilse UnauthorizedAccessException oluşturur.

public static void RequireNoReparsePoints(string expectedPath, bool asDirectory);
static member RequireNoReparsePoints : string * bool -> unit
Public Shared Sub RequireNoReparsePoints (expectedPath As String, asDirectory As Boolean)

Parametreler

expectedPath
String

expectedPath'in yeniden ayrıştırma noktası olmadığını denetler.

asDirectory
Boolean

Bir dizini ve bir dosyayı doğrulama denetimini belirtir.

Özel durumlar

Verilen FileStream'in kurallı yolu, expectedPath ile aynı değil.

Şunlara uygulanır