WebProcessStatistics.RequestsRejected Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of rejected requests.
public:
property int RequestsRejected { int get(); };
public int RequestsRejected { get; }
member this.RequestsRejected : int
Public ReadOnly Property RequestsRejected As Integer
Property Value
The number of rejected requests.
Examples
The following code example shows how to get the RequestsRejected value.
public string GetRequestsRejected()
{
// Get the requests rejected.
return (string.Format(
"Requests rejected: {0}",
processStatistics.RequestsRejected.ToString()));
}
Public Function GetRequestsRejected() As String
' Get the requests rejected.
Return String.Format( _
"Requests rejected: {0}", _
processStatistics.RequestsRejected.ToString())
End Function 'GetRequestsRejected
Remarks
This RequestsRejected value is a useful indicator of an overloaded or malfunctioning system.
Applies to
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.