IPGlobalStatistics.OutputPacketsWithNoRoute Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Yerel bilgisayarın hedef adrese giden yolu belirleyemediği İnternet Protokolü (IP) paketlerinin sayısını alır.
public:
abstract property long OutputPacketsWithNoRoute { long get(); };
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
public abstract long OutputPacketsWithNoRoute { get; }
public abstract long OutputPacketsWithNoRoute { get; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
member this.OutputPacketsWithNoRoute : int64
member this.OutputPacketsWithNoRoute : int64
Public MustOverride ReadOnly Property OutputPacketsWithNoRoute As Long
Özellik Değeri
Yol Int64 bulunamadığından gönderilemeyen paket sayısını belirten bir değer.
- Öznitelikler
Örnekler
Aşağıdaki kod örneği, giden IP paketlerinin istatistiklerini görüntüler.
public static void ShowOutboundIPStatistics()
{
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
IPGlobalStatistics ipstat = properties.GetIPv4GlobalStatistics();
Console.WriteLine(" Outbound Packet Data:");
Console.WriteLine(" Requested ........................... : {0}",
ipstat.OutputPacketRequests);
Console.WriteLine(" Discarded ........................... : {0}",
ipstat.OutputPacketsDiscarded);
Console.WriteLine(" No Routing Discards ................. : {0}",
ipstat.OutputPacketsWithNoRoute);
Console.WriteLine(" Routing Entry Discards .............. : {0}",
ipstat.OutputPacketRoutingDiscards);
}
Public Shared Sub ShowOutboundIPStatistics()
Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
Dim ipstat As IPGlobalStatistics = properties.GetIPv4GlobalStatistics()
Console.WriteLine(" Outbound Packet Data:")
Console.WriteLine(" Requested ........................... : {0}", ipstat.OutputPacketRequests)
Console.WriteLine(" Discarded ........................... : {0}", ipstat.OutputPacketsDiscarded)
Console.WriteLine(" No Routing Discards ................. : {0}", ipstat.OutputPacketsWithNoRoute)
Console.WriteLine(" Routing Entry Discards .............. : {0}", ipstat.OutputPacketRoutingDiscards)
End Sub
Açıklamalar
Bu kategoriye giren IP paketleri atılır.