IcmpV6Statistics.MessagesReceived Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Obtiene el número de mensajes ICMPv6 (Protocolo de mensajes de control de Internet versión 6) recibidos.
public:
abstract property long MessagesReceived { long get(); };
public abstract long MessagesReceived { get; }
[System.Runtime.Versioning.UnsupportedOSPlatform("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public abstract long MessagesReceived { get; }
member this.MessagesReceived : int64
[<System.Runtime.Versioning.UnsupportedOSPlatform("freebsd")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("osx")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.MessagesReceived : int64
Public MustOverride ReadOnly Property MessagesReceived As Long
Valor de propiedad
Valor Int64 que especifica el número total de mensajes ICMPv6 recibidos.
- Atributos
Ejemplos
En el ejemplo siguiente se muestra el valor de esta propiedad.
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
Comentarios
Los mensajes ICMPv6 se envían para comunicar errores e información sobre los paquetes enviados mediante el protocolo de Internet versión 6 (IPv6).