다음을 통해 공유


MalformedLineException 생성자

정의

MalformedLineException 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
MalformedLineException()

MalformedLineException 클래스의 새 인스턴스를 초기화합니다.

MalformedLineException(String)

지정된 오류 메시지를 사용하여 클래스의 MalformedLineException 새 인스턴스를 초기화합니다.

MalformedLineException(SerializationInfo, StreamingContext)
사용되지 않음.

직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 MalformedLineException 초기화합니다.

MalformedLineException(String, Exception)

지정된 오류 메시지와 이 예외의 MalformedLineException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.

MalformedLineException(String, Int64)

지정된 오류 메시지와 줄 번호를 사용하여 클래스의 MalformedLineException 새 인스턴스를 초기화합니다.

MalformedLineException(String, Int64, Exception)

지정된 오류 메시지, 줄 번호 및 이 예외의 MalformedLineException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.

MalformedLineException()

Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb

MalformedLineException 클래스의 새 인스턴스를 초기화합니다.

public:
 MalformedLineException();
public MalformedLineException();
Public Sub New ()

설명

예외는 메서드가 ReadFields 지정된 형식을 사용하여 행을 구문 분석할 수 없음을 나타냅니다.

다음 표에서는 인스턴스 MalformedLineException에 대한 초기 속성 값을 보여 줍니다.

재산 가치
InnerException Null 참조(Nothing Visual Basic의 경우)입니다.
Message 지역화된 오류 메시지 문자열입니다.

추가 정보

적용 대상

MalformedLineException(String)

Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb

지정된 오류 메시지를 사용하여 클래스의 MalformedLineException 새 인스턴스를 초기화합니다.

public:
 MalformedLineException(System::String ^ message);
public MalformedLineException(string? message);
public MalformedLineException(string message);
new Microsoft.VisualBasic.FileIO.MalformedLineException : string -> Microsoft.VisualBasic.FileIO.MalformedLineException
Public Sub New (message As String)

매개 변수

message
String

오류를 설명하는 메시지입니다.

설명

매개 변수의 message 내용은 인간이 이해할 수 있도록 하기 위한 것입니다. 이 문자열이 현재 시스템 문화권에 맞게 지역화되었는지 확인하려면 이 생성자의 호출자가 필요합니다.

MalformedLineException 는 클래스에서 Exception 상속됩니다. 이 생성자는 다음 표와 같이 개체의 Exception 속성을 설정합니다.

재산 가치
InnerException null 참조(Nothing Visual Basic의 경우)
Message 문자열입니다 message .

적용 대상

MalformedLineException(SerializationInfo, StreamingContext)

Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb

주의

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

직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 MalformedLineException 초기화합니다.

protected:
 MalformedLineException(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 MalformedLineException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected MalformedLineException(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 Microsoft.VisualBasic.FileIO.MalformedLineException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualBasic.FileIO.MalformedLineException
new Microsoft.VisualBasic.FileIO.MalformedLineException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualBasic.FileIO.MalformedLineException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

매개 변수

info
SerializationInfo

SerializationInfo throw되는 예외에 대한 직렬화된 개체 데이터를 보유하는 개체입니다.

context
StreamingContext

StreamingContext 원본 또는 대상에 대한 컨텍스트 정보를 포함하는 구조체입니다.

특성

설명

이 생성자는 역직렬화 중에 호출되어 스트림을 통해 전송되는 예외 개체를 다시 구성합니다.

적용 대상

MalformedLineException(String, Exception)

Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb

지정된 오류 메시지와 이 예외의 MalformedLineException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.

public:
 MalformedLineException(System::String ^ message, Exception ^ innerException);
public MalformedLineException(string? message, Exception? innerException);
public MalformedLineException(string message, Exception innerException);
new Microsoft.VisualBasic.FileIO.MalformedLineException : string * Exception -> Microsoft.VisualBasic.FileIO.MalformedLineException
Public Sub New (message As String, innerException As Exception)

매개 변수

message
String

String 오류를 설명하는 것입니다.

innerException
Exception

Exception 현재 예외의 원인인 개체입니다. 매개 변수가 InnerException null 참조(Nothing Visual Basic)가 아닌 경우 내부 예외를 처리하는 catch 블록에서 현재 예외가 발생합니다.

설명

매개 변수의 message 내용은 인간이 이해할 수 있도록 하기 위한 것입니다. 이 문자열이 현재 시스템 문화권에 맞게 지역화되었는지 확인하려면 이 생성자의 호출자가 필요합니다.

이전 예외의 직접적인 결과로 throw되는 예외에는 속성의 이전 예외에 대한 참조가 InnerException 포함되어야 합니다. 이 속성은 InnerException 생성자에 전달되는 값과 동일한 값을 반환하거나, 속성이 생성자에 내부 예외 값을 제공하지 않는 경우 InnerException null 참조를 반환합니다.

다음 표에서는 인스턴스 ApplicationException에 대한 초기 속성 값을 보여 줍니다.

재산 가치
InnerException 참조입니다 innerException .
Message 문자열입니다 message .

적용 대상

MalformedLineException(String, Int64)

Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb

지정된 오류 메시지와 줄 번호를 사용하여 클래스의 MalformedLineException 새 인스턴스를 초기화합니다.

public:
 MalformedLineException(System::String ^ message, long lineNumber);
public MalformedLineException(string? message, long lineNumber);
public MalformedLineException(string message, long lineNumber);
new Microsoft.VisualBasic.FileIO.MalformedLineException : string * int64 -> Microsoft.VisualBasic.FileIO.MalformedLineException
Public Sub New (message As String, lineNumber As Long)

매개 변수

message
String

예외에 대한 메시지입니다.

lineNumber
Int64

형식이 잘못된 줄의 줄 번호입니다.

설명

매개 변수의 message 내용은 인간이 이해할 수 있도록 하기 위한 것입니다. 이 문자열이 현재 시스템 문화권에 맞게 지역화되었는지 확인하려면 이 생성자의 호출자가 필요합니다. 매개 변수는 lineNumber 속성을 초기화합니다 LineNumber .

MalformedLineException 는 .에서 상속됩니다 Exception. 이 생성자는 다음 표와 같이 개체의 Exception 속성을 설정합니다.

재산 가치
InnerException null 참조(Nothing Visual Basic의 경우)
Message 문자열입니다 message .

적용 대상

MalformedLineException(String, Int64, Exception)

Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb
Source:
MalformedLineException.vb

지정된 오류 메시지, 줄 번호 및 이 예외의 MalformedLineException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.

public:
 MalformedLineException(System::String ^ message, long lineNumber, Exception ^ innerException);
public MalformedLineException(string? message, long lineNumber, Exception? innerException);
public MalformedLineException(string message, long lineNumber, Exception innerException);
new Microsoft.VisualBasic.FileIO.MalformedLineException : string * int64 * Exception -> Microsoft.VisualBasic.FileIO.MalformedLineException
Public Sub New (message As String, lineNumber As Long, innerException As Exception)

매개 변수

message
String

예외에 대한 메시지입니다.

lineNumber
Int64

형식이 잘못된 줄의 줄 번호입니다.

innerException
Exception

Exception 이것이 현재 예외의 원인입니다. 매개 변수가 InnerException null 참조(Nothing Visual Basic)가 아닌 경우 내부 예외를 처리하는 catch 블록에서 현재 예외가 발생합니다.

설명

매개 변수의 message 내용은 인간이 이해할 수 있도록 하기 위한 것입니다. 이 문자열이 현재 시스템 문화권에 맞게 지역화되었는지 확인하려면 이 생성자의 호출자가 필요합니다. 매개 변수는 lineNumber 속성을 초기화합니다 LineNumber .

이전 예외의 직접적인 결과로 throw되는 예외에는 속성의 이전 예외에 대한 참조가 InnerException 포함되어야 합니다. 이 속성은 InnerException 생성자에 전달되는 값과 동일한 값을 반환하거나, 속성이 생성자에 내부 예외 값을 제공하지 않는 경우 InnerException null 참조를 반환합니다.

다음 표에서는 인스턴스 ApplicationException에 대한 초기 속성 값을 보여 줍니다.

재산 가치
InnerException 참조입니다 innerException .
Message 문자열입니다 message .

적용 대상