다음을 통해 공유


IcmpV6Statistics.ErrorsSent 속성

정의

보낸 ICMPv6(Internet Control Message Protocol 버전 6) 오류 메시지의 수를 가져옵니다.

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

속성 값

보낸 ICMP 오류 메시지의 총 수를 나타내는 Int64 값입니다.

특성

예제

다음 예제에서는이 속성의 값을 표시 합니다.

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

적용 대상