IPerformanceCounterManager.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
Sub Initialize ( _
instanceName As String, _
hostShutdownToken As CancellationToken _
)
'Usage
Dim instance As IPerformanceCounterManager
Dim instanceName As String
Dim hostShutdownToken As CancellationToken
instance.Initialize(instanceName, hostShutdownToken)
void Initialize(
string instanceName,
CancellationToken hostShutdownToken
)
void Initialize(
String^ instanceName,
CancellationToken hostShutdownToken
)
abstract Initialize :
instanceName:string *
hostShutdownToken:CancellationToken -> unit
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.