IcmpV6Statistics.ErrorsSent Egenskap

Definition

Hämtar antalet felmeddelanden för Internet Control Message Protocol version 6 (ICMPv6) som skickas.

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

Egenskapsvärde

Ett Int64 värde som anger det totala antalet skickade ICMP-felmeddelanden.

Exempel

I följande exempel visas värdet för den här egenskapen.

public static void ShowIcmpV6ErrorData ()
{
     IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
    Console.WriteLine ("  Errors .............................. Sent: {0,-10}   Received: {1,-10}",
        statistics.ErrorsSent, statistics.ErrorsReceived);
}
Public Shared Sub ShowIcmpV6ErrorData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV6Statistics = properties.GetIcmpV6Statistics()
    Console.WriteLine("  Errors .............................. Sent: {0,-10}   Received: {1,-10}", statistics.ErrorsSent, statistics.ErrorsReceived)

End Sub

Gäller för