다음을 통해 공유


IcmpV4Statistics.ParameterProblemsSent 속성

정의

보낸 ICMPv4(Internet Control Message Protocol 버전 4) Parameter Problem 메시지의 수를 가져옵니다.

public:
 abstract property long ParameterProblemsSent { long get(); };
public abstract long ParameterProblemsSent { get; }
member this.ParameterProblemsSent : int64
Public MustOverride ReadOnly Property ParameterProblemsSent As Long

속성 값

보낸 ICMP Parameter Problem 메시지의 총 수를 나타내는 Int64 값입니다.

예제

다음 예제에서는이 속성의 값을 표시 합니다.

void ShowParameterData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV4Statistics ^ statistics = properties->GetIcmpV4Statistics();
   Console::WriteLine( "  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}", 
      statistics->ParameterProblemsSent, 
      statistics->ParameterProblemsReceived );
}
public static void ShowParameterData()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV4Statistics statistics = properties.GetIcmpV4Statistics();
    Console.WriteLine("  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}",
        statistics.ParameterProblemsSent, statistics.ParameterProblemsReceived);
}
Public Shared Sub ShowParameterData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV4Statistics = properties.GetIcmpV4Statistics()
    Console.WriteLine("  Parameter Problems .................. Sent: {0,-10}   Received: {1,-10}", statistics.ParameterProblemsSent, statistics.ParameterProblemsReceived)

End Sub

설명

매개 변수 문제 메시지는 잘못된 IPv4 옵션 또는 잘못된 다음 헤더 유형이 발생하는 등 패킷 헤더의 내용을 처리하는 동안 호스트 컴퓨터 또는 라우터에 문제가 발생할 때 전송됩니다.

적용 대상