RegexMatchTimeoutException 생성자

정의

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

오버로드

RegexMatchTimeoutException()

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

RegexMatchTimeoutException(String)

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

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

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

RegexMatchTimeoutException(String, Exception)

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

RegexMatchTimeoutException(String, String, TimeSpan)

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

RegexMatchTimeoutException()

Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs

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

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

설명

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

적용 대상

RegexMatchTimeoutException(String)

Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs

지정된 메시지 문자열을 사용하여 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)

Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs

주의

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

serialize된 데이터를 사용하여 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);
[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 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
[<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 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

serialize된 데이터가 들어 있는 개체입니다.

context
StreamingContext

serialize된 데이터가 들어 있는 스트림입니다.

특성

설명

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

적용 대상

RegexMatchTimeoutException(String, Exception)

Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs

지정된 오류 메시지와 해당 예외의 원인인 내부 예외에 대한 참조를 사용하여 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. 그런 다음 이 값은 개체의 Exception.InnerException 속성에 RegexMatchTimeoutException 할당됩니다.

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

적용 대상

RegexMatchTimeoutException(String, String, TimeSpan)

Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs
Source:
RegexMatchTimeoutException.cs

정규식 패턴, 입력 텍스트 및 시간 초과 간격에 대한 정보를 사용하여 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

시간 제한 간격입니다.

설명

, 및 값은 regexInputRegexMatchTimeoutException 개체의 Input, PatternMatchTimeout 속성에 할당됩니다.matchTimeoutregexPattern

적용 대상