InstanceLifetime kan ikke angives, når forekomsten er initialiseret. Du skal anvende standardkonstruktøren og angive egenskaberne CategoryName, InstanceName, CounterName, InstanceLifetime og ReadOnly manuelt, før du angiver RawValue.
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.