אין אפשרות להגדיר את InstanceLifetime לאחר שהמופע אותחל. עליך להשתמש בבנאי ברירת המחדל ולהגדיר באופן ידני את המאפיינים CategoryName, InstanceName, CounterName, InstanceLifetime ו- ReadOnly לפני הגדרת 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.