Freigeben über


IcmpV6Statistics.MembershipQueriesReceived Eigenschaft

Definition

Ruft die Anzahl der empfangenen IGMP (Internet Group Management Protocol)-Group Membership Query-Meldungen ab.

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

Eigenschaftswert

Ein Int64-Wert, der die Gesamtzahl der empfangenen Group Membership Query-Meldungen angibt.

Beispiele

Im folgenden Beispiel wird der Wert dieser Eigenschaft angezeigt.

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

Hinweise

Multicastrouter senden Gruppenmitgliedschaftsabfragemeldungen, um zu erfahren, welche Gruppen Mitglieder in den einzelnen angeschlossenen physischen Netzwerken haben. Hostcomputer antworten auf eine Gruppenmitgliedschaftsabfragemeldung, indem sie einen Gruppenmitgliedschaftsbericht für jede Multicastgruppe senden, die durch den Host verbunden ist. Ein Hostcomputer kann auch einen Gruppenmitgliedschaftsbericht senden, wenn er einer neuen Multicastgruppe beitritt. Meldungen zur Reduzierung der Gruppenmitgliedschaft werden gesendet, wenn ein Hostcomputer eine Multicastgruppe verlässt.

Gilt für: