Partilhar via


IcmpV6Statistics.MembershipReductionsReceived Propriedade

Definição

Obtém o número de mensagens de redução de associação de grupo de protocolo IGMP recebidas.

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

Valor da propriedade

Um Int64 valor que especifica o número total de mensagens de Redução de Associação de Grupo recebidas.

Exemplos

O exemplo a seguir exibe o valor dessa propriedade.

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

Comentários

Os roteadores multicast enviam mensagens de Consulta de Associação de Grupo para saber quais grupos têm membros em cada uma de suas redes físicas anexadas. Os computadores host respondem a uma mensagem de Consulta de Associação de Grupo enviando um Relatório de Associação de Grupo para cada grupo multicast ingressado pelo host. Um computador host também pode enviar um Relatório de Associação de Grupo ao ingressar em um novo grupo multicast. As mensagens de Redução de Associação de Grupo são enviadas quando um computador host deixa um grupo multicast.

Aplica-se a