IcmpV6Statistics.MembershipReportsReceived Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of Internet Group Management Protocol (IGMP) Group Membership Report messages received.
public:
abstract property long MembershipReportsReceived { long get(); };
public abstract long MembershipReportsReceived { get; }
member this.MembershipReportsReceived : int64
Public MustOverride ReadOnly Property MembershipReportsReceived As Long
An Int64 value that specifies the total number of Group Membership Report messages received.
The following example displays the value of this property.
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
Multicast routers send Group Membership Query messages to learn which groups have members on each of their attached physical networks. Host computers respond to a Group Membership Query message by sending a Group Membership Report for each multicast group joined by the host. A host computer can also send a Group Membership Report when it joins a new multicast group. Group Membership Reduction messages are sent when a host computer leaves a multicast group.
Produk | Versi |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET maklum balas
.NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: