Freigeben über


IcmpV6Statistics.MembershipReportsReceived Eigenschaft

Definition

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

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

Eigenschaftswert

Ein Int64-Wert, der die Gesamtzahl der empfangenen Group Membership Report-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 Gruppenmitgliedschaftsabfragenachrichten, um zu erfahren, welche Gruppen Mitglieder in den einzelnen angeschlossenen physischen Netzwerken haben. Hostcomputer reagieren auf eine Gruppenmitgliedschaftsabfrage-Nachricht, 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 Verringerung der Gruppenmitgliedschaft werden gesendet, wenn ein Hostcomputer eine Multicastgruppe verlässt.

Gilt für: