ThrottlingEvents.LogRequestDeniedDueToThrottling Method (String, String, Int32, DateTime, Exception)

[This is internal Microsoft documentation - Do not distribute.]

Method to log an event of type RequestDeniedDueToThrottling with Exception information.

Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)

Syntax

'Declaration

  Public Shared Sub LogRequestDeniedDueToThrottling ( _
    serverName As String, _
    resourceName As String, _
    oldMCRL As Integer, _
    nextAttemptTime As DateTime, _
    exception As Exception _
)
  public static void LogRequestDeniedDueToThrottling (
    string serverName,
    string resourceName,
    int oldMCRL,
    DateTime nextAttemptTime,
    Exception exception
)

Parameters

  • serverName
    Argument serverName for formatting the event text.
  • resourceName
    Argument resourceName for formatting the event text.
  • oldMCRL
    Argument oldMCRL for formatting the event text.
  • nextAttemptTime
    Argument nextAttemptTime for formatting the event text.
  • exception
    The exception corresponding to this event.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

ThrottlingEvents Class
ThrottlingEvents Members
Microsoft.Webstore.WstClient Namespace