Po inicializaci instance nelze nastavit vlastnost InstanceLifetime. Před nastavením vlastnosti RawValue je třeba použít výchozí konstruktor a ručně nastavit vlastnosti CategoryName, InstanceName, CounterName, InstanceLifetime a ReadOnly.
Click to search this error in Google
English version
The InstanceLifetime cannot be set after the instance has been initialized. You must use the default constructor and set the CategoryName, InstanceName, CounterName, InstanceLifetime and ReadOnly properties manually before setting the RawValue.