다음을 통해 공유


IcmpV6Statistics.MembershipQueriesReceived 속성

정의

받은 IGMP(Internet Group Management Protocol) Group Membership Query 메시지의 수를 가져옵니다.

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

속성 값

받은 Group Membership Query 메시지의 총 수를 나타내는 Int64 값입니다.

예제

다음 예제에서는이 속성의 값을 표시 합니다.

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

설명

멀티 캐스트 라우터는 각 해당 연결 된 실제 네트워크에 있는 멤버를 그룹에 알아보려면 Group Membership Query 메시지를 보냅니다. 호스트 컴퓨터 호스트에 의해 가입 된 각 멀티 캐스트 그룹에 대 한 그룹 멤버 자격 보고서를 전송 하 여 Group Membership Query 메시지에 응답 합니다. 새 멀티 캐스트 그룹을 조인 하는 경우 호스트 컴퓨터 그룹 멤버 자격 보고서를 보낼 수도 있습니다. 그룹 Membership Reduction 메시지에는 호스트 컴퓨터 멀티 캐스트 그룹을 나갈 때 전송 됩니다.

적용 대상