Aracılığıyla paylaş


IcmpV6Statistics.DestinationUnreachableMessagesSent Özellik

Tanım

Hedefinde ulaşılamayan bir adrese sahip bir paket nedeniyle gönderilen İnternet Denetim İletisi Protokolü sürüm 6 (ICMPv6) iletilerinin sayısını alır.

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

Özellik Değeri

Int64 Gönderilen Hedef Ulaşılamaz iletilerin toplam sayısını belirten bir değer.

Örnekler

Aşağıdaki örnekte bu özelliğin değeri görüntülenir.

void ShowIcmpV6UnreachableData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV6Statistics ^ statistics = properties->GetIcmpV6Statistics();
   Console::WriteLine( "  Destination Unreachables ............ Sent: {0,-10}   Received: {1,-10}", 
      statistics->DestinationUnreachableMessagesSent, 
      statistics->DestinationUnreachableMessagesReceived );
}
public static void ShowIcmpV6UnreachableData ()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
    Console.WriteLine ("  Destination Unreachables ............ Sent: {0,-10}   Received: {1,-10}",
        statistics.DestinationUnreachableMessagesSent, statistics.DestinationUnreachableMessagesReceived);
}
Public Shared Sub ShowIcmpV6UnreachableData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV6Statistics = properties.GetIcmpV6Statistics()
    Console.WriteLine("  Destination Unreachables ............ Sent: {0,-10}   Received: {1,-10}", statistics.DestinationUnreachableMessagesSent, statistics.DestinationUnreachableMessagesReceived)

End Sub

Açıklamalar

Hedefe Ulaşılamıyor iletisi, aşağıdaki nedenlerden herhangi biri nedeniyle bir paketin kaynağı olan bilgisayara gönderilebilir:

  • Bilgisayar hedef adrese giden yolu bulamıyor.

  • Hedef adresle iletişim yönetimsel olarak yasaktır. Örneğin, güvenlik duvarı paketlerin hedefe teslim edilmesini engeller.

  • Hedef adrese ulaşılamıyor.

  • Hedef bağlantı noktasına ulaşılamıyor. Örneğin, paketin protokolü için kullanılabilir dinleyici yoktur.

Şunlara uygulanır