Skip to content

SystemTarget Constructors

Base class for various system services, such as grain directory, reminder service, etc. Made public for GrainService to inherit from it. Can be turned to internal after a refactoring that would remove the inheritance relation.

SystemTarget

View source
[System.Obsolete(Do not call the empty constructor.)]
protected SystemTarget()
Obsolete parameterless constructor for SystemTarget.

Breaking change: This constructor is obsolete and will throw a System.NotSupportedException if called. It is present only to satisfy certain reflection-based scenarios and should not be used in application code.

If you are using reflection or serialization frameworks that require a parameterless constructor, update your code to use the constructor with parameters: SystemTarget.