IcmpV6Statistics.MembershipReductionsReceived Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene il numero di messaggi Group Membership Reduction del protocollo IGMP ricevuti.
public:
abstract property long MembershipReductionsReceived { long get(); };
public abstract long MembershipReductionsReceived { get; }
member this.MembershipReductionsReceived : int64
Public MustOverride ReadOnly Property MembershipReductionsReceived As Long
Valore della proprietà
Valore Int64 che specifica il numero totale di Group Membership Reduction ricevuti.
Esempio
Nell'esempio seguente viene visualizzato il valore di questa proprietà.
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
Commenti
I router multicast inviano messaggi Group Membership Query per scoprire quali gruppi hanno membri in ognuna delle reti fisiche collegate. I computer host rispondono a un messaggio di query sull'appartenenza al gruppo inviando un report di appartenenza al gruppo per ogni gruppo multicast aggiunto dall'host. Un computer host può anche inviare un report di appartenenza al gruppo quando viene aggiunto a un nuovo gruppo multicast. I messaggi di riduzione dell'appartenenza al gruppo vengono inviati quando un computer host lascia un gruppo multicast.