你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Check.FileExists(String) 方法

定义

检查 FilePath 是否存在 如果 filePath 不存在,则引发 FileNotFoundException

public static void FileExists (string filePath);
static member FileExists : string -> unit
Public Shared Sub FileExists (filePath As String)

参数

filePath
String

用于日志记录的文件路径信息

适用于