다음을 통해 공유


PingException 생성자

정의

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

오버로드

Name Description
PingException(String)

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

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

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

PingException(String, Exception)

지정된 메시지 및 내부 예외를 PingException 사용하여 클래스의 새 인스턴스를 초기화합니다.

PingException(String)

Source:
PingException.cs
Source:
PingException.cs
Source:
PingException.cs
Source:
PingException.cs
Source:
PingException.cs

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

public:
 PingException(System::String ^ message);
public PingException(string? message);
public PingException(string message);
new System.Net.NetworkInformation.PingException : string -> System.Net.NetworkInformation.PingException
Public Sub New (message As String)

매개 변수

message
String

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

설명

이 생성자는 매개 변수의 Message 텍스트를 message 사용하여 속성을 초기화합니다. InnerException 속성은 null로 설정됩니다.

적용 대상

PingException(SerializationInfo, StreamingContext)

Source:
PingException.cs
Source:
PingException.cs
Source:
PingException.cs
Source:
PingException.cs
Source:
PingException.cs

주의

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

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

protected:
 PingException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[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 PingException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected PingException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[<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.Net.NetworkInformation.PingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.NetworkInformation.PingException
new System.Net.NetworkInformation.PingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.NetworkInformation.PingException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

매개 변수

serializationInfo
SerializationInfo

serialize된 개체 데이터를 보유하는 개체입니다.

streamingContext
StreamingContext

이 serialization의 원본 또는 대상에 대한 컨텍스트 정보를 지정하는 A StreamingContext 입니다.

특성

설명

이 생성자는 역직렬화 중에 호출되어 이전에 직렬화된 PingException 개체를 다시 구성합니다.

적용 대상

PingException(String, Exception)

Source:
PingException.cs
Source:
PingException.cs
Source:
PingException.cs
Source:
PingException.cs
Source:
PingException.cs

지정된 메시지 및 내부 예외를 PingException 사용하여 클래스의 새 인스턴스를 초기화합니다.

public:
 PingException(System::String ^ message, Exception ^ innerException);
public PingException(string? message, Exception? innerException);
public PingException(string message, Exception innerException);
new System.Net.NetworkInformation.PingException : string * Exception -> System.Net.NetworkInformation.PingException
Public Sub New (message As String, innerException As Exception)

매개 변수

message
String

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

innerException
Exception

현재 예외를 발생시키는 예외입니다.

설명

이 생성자는 매개 변수의 Message 텍스트 messageInnerException 매개 변수를 사용하여 속성을 innerException 초기화합니다.

적용 대상