Share via


IcmpV6Statistics.ErrorsSent Propiedad

Definición

Obtiene el número de mensajes de error ICMPv6 (Protocolo de mensajes de control de Internet versión 6) enviados.

public:
 abstract property long ErrorsSent { long get(); };
public abstract long ErrorsSent { get; }
[System.Runtime.Versioning.UnsupportedOSPlatform("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public abstract long ErrorsSent { get; }
member this.ErrorsSent : int64
[<System.Runtime.Versioning.UnsupportedOSPlatform("freebsd")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("osx")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.ErrorsSent : int64
Public MustOverride ReadOnly Property ErrorsSent As Long

Valor de propiedad

Valor Int64 que especifica el número total de mensajes de error ICMP enviados.

Atributos

Ejemplos

En el ejemplo siguiente se muestra el valor de esta propiedad.

void ShowIcmpV6ErrorData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV6Statistics ^ statistics = properties->GetIcmpV6Statistics();
   Console::WriteLine( "  Errors .............................. Sent: {0,-10}   Received: {1,-10}", 
      statistics->ErrorsSent, statistics->ErrorsReceived );
}
public static void ShowIcmpV6ErrorData ()
{
     IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
    Console.WriteLine ("  Errors .............................. Sent: {0,-10}   Received: {1,-10}",
        statistics.ErrorsSent, statistics.ErrorsReceived);
}
Public Shared Sub ShowIcmpV6ErrorData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV6Statistics = properties.GetIcmpV6Statistics()
    Console.WriteLine("  Errors .............................. Sent: {0,-10}   Received: {1,-10}", statistics.ErrorsSent, statistics.ErrorsReceived)

End Sub

Se aplica a