PerformanceCounterManager.Initialize Method
.NET Framework 4
Initializes the performance counters.
Namespace: Microsoft.AspNet.SignalR.Infrastructure
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Sub Initialize ( _
instanceName As String, _
hostShutdownToken As CancellationToken _
)
'Usage
Dim instance As PerformanceCounterManager
Dim instanceName As String
Dim hostShutdownToken As CancellationToken
instance.Initialize(instanceName, hostShutdownToken)
public void Initialize(
string instanceName,
CancellationToken hostShutdownToken
)
public:
virtual void Initialize(
String^ instanceName,
CancellationToken hostShutdownToken
) sealed
abstract Initialize :
instanceName:string *
hostShutdownToken:CancellationToken -> unit
override Initialize :
instanceName:string *
hostShutdownToken:CancellationToken -> unit
public final function Initialize(
instanceName : String,
hostShutdownToken : CancellationToken
)
Parameters
- instanceName
Type: System.String
The host instance name.
- hostShutdownToken
Type: System.Threading.CancellationToken
The CancellationToken representing the host shutdown.
Implements
IPerformanceCounterManager.Initialize(String, CancellationToken)