RegexMatchTimeoutException 생성자

정의

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

오버로드

Name Description
RegexMatchTimeoutException()

시스템 제공 메시지를 사용하여 클래스의 RegexMatchTimeoutException 새 인스턴스를 초기화합니다.

RegexMatchTimeoutException(String)

지정된 메시지 문자열을 사용하여 클래스의 RegexMatchTimeoutException 새 인스턴스를 초기화합니다.

RegexMatchTimeoutException(SerializationInfo, StreamingContext)

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

RegexMatchTimeoutException(String, Exception)

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

RegexMatchTimeoutException(String, String, TimeSpan)

정규식 패턴, 입력 텍스트 및 시간 제한 간격에 대한 정보를 사용하여 클래스의 새 인스턴스 RegexMatchTimeoutException 를 초기화합니다.

RegexMatchTimeoutException()

시스템 제공 메시지를 사용하여 클래스의 RegexMatchTimeoutException 새 인스턴스를 초기화합니다.

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

설명

클래스의 매개 변수가 없는 생성자입니다 RegexMatchTimeoutException . 이 생성자는 오류를 설명하는 시스템 제공 메시지로 새 인스턴스의 속성을 초기화 Message 합니다. 이 메시지는 현재 시스템 문화권에 대해 지역화됩니다.

적용 대상

RegexMatchTimeoutException(String)

지정된 메시지 문자열을 사용하여 클래스의 RegexMatchTimeoutException 새 인스턴스를 초기화합니다.

public:
 RegexMatchTimeoutException(System::String ^ message);
public RegexMatchTimeoutException(string message);
new System.Text.RegularExpressions.RegexMatchTimeoutException : string -> System.Text.RegularExpressions.RegexMatchTimeoutException
Public Sub New (message As String)

매개 변수

message
String

예외를 설명하는 문자열입니다.

설명

문자열이 message 속성에 Exception.Message 할당됩니다. 문자열은 현재 문화권에 대해 지역화되어야 합니다.

적용 대상

RegexMatchTimeoutException(SerializationInfo, StreamingContext)

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

protected:
 RegexMatchTimeoutException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RegexMatchTimeoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Text.RegularExpressions.RegexMatchTimeoutException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Text.RegularExpressions.RegexMatchTimeoutException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

매개 변수

info
SerializationInfo

직렬화된 데이터를 포함하는 개체입니다.

context
StreamingContext

직렬화된 데이터를 포함하는 스트림입니다.

설명

이 생성자는 개체를 인스턴스화 RegexMatchTimeoutException 하기 위해 코드에서 직접 호출되지 않습니다. 대신 스트림에서 개체를 IFormatter.Deserialize 역직렬화 RegexMatchTimeoutException 할 때 메서드에 의해 호출됩니다.

적용 대상

RegexMatchTimeoutException(String, Exception)

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

public:
 RegexMatchTimeoutException(System::String ^ message, Exception ^ inner);
public RegexMatchTimeoutException(string message, Exception inner);
new System.Text.RegularExpressions.RegexMatchTimeoutException : string * Exception -> System.Text.RegularExpressions.RegexMatchTimeoutException
Public Sub New (message As String, inner As Exception)

매개 변수

message
String

예외를 설명하는 문자열입니다.

inner
Exception

현재 예외의 원인인 예외입니다.

설명

일반적으로 이 오버로드를 사용하여 블록에서 예외를 try/catch 처리합니다. 매개 변수는 innerException 블록에서 처리되는 예외 개체에 catch 대한 참조이거나 해당 개체일 수 있습니다 null. 이 값은 개체의 RegexMatchTimeoutException 속성에 Exception.InnerException 할당됩니다.

문자열이 message 속성에 Exception.Message 할당됩니다. 문자열은 현재 문화권에 대해 지역화되어야 합니다.

적용 대상

RegexMatchTimeoutException(String, String, TimeSpan)

정규식 패턴, 입력 텍스트 및 시간 제한 간격에 대한 정보를 사용하여 클래스의 새 인스턴스 RegexMatchTimeoutException 를 초기화합니다.

public:
 RegexMatchTimeoutException(System::String ^ regexInput, System::String ^ regexPattern, TimeSpan matchTimeout);
public RegexMatchTimeoutException(string regexInput, string regexPattern, TimeSpan matchTimeout);
new System.Text.RegularExpressions.RegexMatchTimeoutException : string * string * TimeSpan -> System.Text.RegularExpressions.RegexMatchTimeoutException
Public Sub New (regexInput As String, regexPattern As String, matchTimeout As TimeSpan)

매개 변수

regexInput
String

시간 제한 발생 시 정규식 엔진에서 처리된 입력 텍스트입니다.

regexPattern
String

시간 제한 발생 시 정규식 엔진에서 사용하는 패턴입니다.

matchTimeout
TimeSpan

제한 시간 간격입니다.

설명

새 개체의 regexInput, regexPatternmatchTimeout 속성 InputPatternMatchTimeout값이 RegexMatchTimeoutException 할당됩니다.

적용 대상