語言

IcmpV6Statistics.ParameterProblemsReceived 屬性

定義

接收網際網路控制訊息協定(ICMPv6)參數問題訊息的數量。

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

屬性值

一個 Int64 指定收到的 ICMP 參數問題訊息總數的值。

範例

以下範例展示了此性質的價值。

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

End Sub

備註

當主機電腦或路由器在處理封包標頭內容時遇到問題,例如遇到無效的 IPv6 選項或無效的下一個標頭類型時,會發送參數問題訊息。

適用於