IcmpV6Statistics.DestinationUnreachableMessagesSent Ö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.
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin