IcmpV6Statistics.MessagesSent Propriedade
Definição
Obtém o número de mensagens de ICMPv6 (protocolo ICMPv6) enviadas.Gets the number of Internet Control Message Protocol version 6 (ICMPv6) messages sent.
public:
abstract property long MessagesSent { long get(); };
public abstract long MessagesSent { get; }
member this.MessagesSent : int64
Public MustOverride ReadOnly Property MessagesSent As Long
Valor da propriedade
Um Int64 valor que especifica o número total de mensagens ICMPv6 enviadas.An Int64 value that specifies the total number of ICMPv6 messages sent.
Exemplos
O exemplo a seguir exibe o valor dessa propriedade.The following example displays the value of this property.
void ShowIcmpV6MessageData()
{
IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
IcmpV6Statistics ^ statistics = properties->GetIcmpV6Statistics();
Console::WriteLine( " Messages ............................ Sent: {0,-10} Received: {1,-10}",
statistics->MessagesSent, statistics->MessagesReceived );
}
public static void ShowIcmpV6MessageData ()
{
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
Console.WriteLine (" Messages ............................ Sent: {0,-10} Received: {1,-10}",
statistics.MessagesSent, statistics.MessagesReceived);
}
Public Shared Sub ShowIcmpV6MessageData()
Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
Dim statistics As IcmpV6Statistics = properties.GetIcmpV6Statistics()
Console.WriteLine(" Messages ............................ Sent: {0,-10} Received: {1,-10}", statistics.MessagesSent, statistics.MessagesReceived)
End Sub
Comentários
As mensagens ICMPv6 são enviadas para comunicar erros e informações sobre pacotes enviados usando o protocolo IP versão 6 (IPv6).ICMPv6 messages are sent to communicate errors and information about packets sent using Internet Protocol version 6 (IPv6).