ConfigurationErrorsException.GetFilename 메서드
정의
이 구성 예외가 throw되었을 때 읽고 있던 구성 파일에 대한 경로를 가져옵니다.Gets the path to the configuration file being read when this configuration exception was thrown.
오버로드
GetFilename(XmlNode) |
이 구성 예외가 throw되었을 때 내부 XmlNode 개체를 로드한 구성 파일에 대한 경로를 가져옵니다.Gets the path to the configuration file from which the internal XmlNode object was loaded when this configuration exception was thrown. |
GetFilename(XmlReader) |
이 구성 예외가 throw되었을 때 내부 XmlReader가 읽고 있던 구성 파일에 대한 경로를 가져옵니다.Gets the path to the configuration file that the internal XmlReader was reading when this configuration exception was thrown. |
GetFilename(XmlNode)
public:
static System::String ^ GetFilename(System::Xml::XmlNode ^ node);
public static string GetFilename (System.Xml.XmlNode node);
static member GetFilename : System.Xml.XmlNode -> string
Public Shared Function GetFilename (node As XmlNode) As String
매개 변수
- node
- XmlNode
이 XmlNode 예외를 throw시킨 ConfigurationErrorsException 개체입니다.The XmlNode object that caused this ConfigurationErrorsException exception to be thrown.
반환
이 구성 예외가 throw되었을 때 내부 XmlNode 개체를 로드한 구성 파일에 대한 경로입니다.The path to the configuration file from which the internal XmlNode object was loaded when this configuration exception was thrown.
설명
GetFilename메서드는 XmlNode 예외가 발생 했을 때 구문 분석 중인 개체를 포함 하는 구성 파일의 이름을 반환 합니다.The GetFilename method returns the name of the configuration file that contains the XmlNode object being parsed when the exception occurred.
적용 대상
GetFilename(XmlReader)
public:
static System::String ^ GetFilename(System::Xml::XmlReader ^ reader);
public static string GetFilename (System.Xml.XmlReader reader);
static member GetFilename : System.Xml.XmlReader -> string
Public Shared Function GetFilename (reader As XmlReader) As String
매개 변수
- reader
- XmlReader
이 XmlReader 예외를 throw시킨 ConfigurationErrorsException 개체입니다.The XmlReader object that caused this ConfigurationErrorsException exception to be thrown.
반환
예외가 발생했을 때 내부 XmlReader 개체가 액세스하고 있던 구성 파일의 경로입니다.The path of the configuration file the internal XmlReader object was accessing when the exception occurred.
설명
GetFilename메서드는 XmlReader 예외가 발생 했을 때 개체가 액세스 하 고 있던 구성 파일의 이름을 반환 합니다.The GetFilename method returns the name of the configuration file that the XmlReader object was accessing when the exception occurred.