Share via


IcmpV4Statistics.SourceQuenchesSent Propriedade

Definição

Obtém o número de mensagens de Retardamento de Origem de ICMPv4 (protocolo ICMPv4) que foram enviadas.

public:
 abstract property long SourceQuenchesSent { long get(); };
public abstract long SourceQuenchesSent { get; }
member this.SourceQuenchesSent : int64
Public MustOverride ReadOnly Property SourceQuenchesSent As Long

Valor da propriedade

Um Int64 valor que especifica o número total de mensagens de Consulta de Origem que foram enviadas.

Exemplos

O exemplo a seguir exibe o valor dessa propriedade.

void ShowSourceQuenchData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV4Statistics ^ statistics = properties->GetIcmpV4Statistics();
   Console::WriteLine( "  Source Quenches ..................... Sent: {0,-10}   Received: {1,-10}", 
      statistics->SourceQuenchesSent, 
      statistics->SourceQuenchesReceived );
}
public static void ShowSourceQuenchData()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV4Statistics statistics = properties.GetIcmpV4Statistics();
    Console.WriteLine("  Source Quenches ..................... Sent: {0,-10}   Received: {1,-10}",
        statistics.SourceQuenchesSent, statistics.SourceQuenchesReceived);
}
Public Shared Sub ShowSourceQuenchData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV4Statistics = properties.GetIcmpV4Statistics()
    Console.WriteLine("  Source Quenches ..................... Sent: {0,-10}   Received: {1,-10}", statistics.SourceQuenchesSent, statistics.SourceQuenchesReceived)

End Sub

Comentários

As mensagens de saída de origem são enviadas quando um pacote foi descartado devido ao espaço insuficiente na fila de saída. Um computador de destino também poderá enviar uma mensagem de Saída de Origem se os pacotes chegarem muito rapidamente para serem processados. A mensagem de consulta de origem é uma solicitação ao host para reduzir a taxa na qual ele está enviando tráfego para o destino da Internet.

Aplica-se a