IcmpV6Statistics.MembershipReportsSent Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan jumlah pesan Laporan Keanggotaan Grup Internet Group Management Protocol (IGMP) yang dikirim.
public:
abstract property long MembershipReportsSent { long get(); };
public abstract long MembershipReportsSent { get; }
member this.MembershipReportsSent : int64
Public MustOverride ReadOnly Property MembershipReportsSent As Long
Nilai Properti
Nilai Int64 yang menentukan jumlah total pesan Laporan Keanggotaan Grup yang dikirim.
Contoh
Contoh berikut menampilkan nilai properti ini.
void ShowIcmpV6MembershipData()
{
IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
IcmpV6Statistics ^ statistics = properties->GetIcmpV6Statistics();
Console::WriteLine( " Queries .............................. Sent: {0,-10} Received: {1,-10}",
statistics->MembershipQueriesSent, statistics->MembershipQueriesReceived );
Console::WriteLine( " Reductions ........................... Sent: {0,-10} Received: {1,-10}",
statistics->MembershipReductionsSent, statistics->MembershipReductionsReceived );
Console::WriteLine( " Reports .............................. Sent: {0,-10} Received: {1,-10}",
statistics->MembershipReportsSent, statistics->MembershipReportsReceived );
}
public static void ShowIcmpV6MembershipData ()
{
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
Console.WriteLine (" Queries .............................. Sent: {0,-10} Received: {1,-10}",
statistics.MembershipQueriesSent, statistics.MembershipQueriesReceived);
Console.WriteLine (" Reductions ........................... Sent: {0,-10} Received: {1,-10}",
statistics.MembershipReductionsSent, statistics.MembershipReductionsReceived);
Console.WriteLine (" Reports .............................. Sent: {0,-10} Received: {1,-10}",
statistics.MembershipReportsSent, statistics.MembershipReportsReceived);
}
Public Shared Sub ShowIcmpV6MembershipData()
Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
Dim statistics As IcmpV6Statistics = properties.GetIcmpV6Statistics()
Console.WriteLine(" Queries .............................. Sent: {0,-10} Received: {1,-10}", statistics.MembershipQueriesSent, statistics.MembershipQueriesReceived)
Console.WriteLine(" Reductions ........................... Sent: {0,-10} Received: {1,-10}", statistics.MembershipReductionsSent, statistics.MembershipReductionsReceived)
Console.WriteLine(" Reports .............................. Sent: {0,-10} Received: {1,-10}", statistics.MembershipReportsSent, statistics.MembershipReportsReceived)
End Sub
Keterangan
Router multicast mengirim pesan Kueri Keanggotaan Grup untuk mempelajari grup mana yang memiliki anggota di setiap jaringan fisik yang terpasang. Komputer host merespons pesan Kueri Keanggotaan Grup dengan mengirim Laporan Keanggotaan Grup untuk setiap grup multicast yang digabungkan oleh host. Komputer host juga dapat mengirim Laporan Keanggotaan Grup saat bergabung dengan grup multicast baru. Pesan Pengurangan Keanggotaan Grup dikirim ketika komputer host meninggalkan grup multicast.