IcmpV6Statistics.DestinationUnreachableMessagesReceived Özellik
Ö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.
Hedefinde ulaşılamaz bir adrese sahip bir paket nedeniyle alınan İnternet Denetim İletisi Protokolü sürüm 6 (ICMPv6) iletilerinin sayısını alır.
public:
abstract property long DestinationUnreachableMessagesReceived { long get(); };
public abstract long DestinationUnreachableMessagesReceived { get; }
member this.DestinationUnreachableMessagesReceived : int64
Public MustOverride ReadOnly Property DestinationUnreachableMessagesReceived As Long
Int64 Alınan Hedef Ulaşılamıyor iletilerinin toplam sayısını belirten bir değer.
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
Hedef Ulaşılamıyor iletisi, aşağıdaki nedenlerden herhangi biri nedeniyle 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.
Ürün | Sürümler |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: