# SystemTarget

Package: [Microsoft.Orleans.Runtime](/orleans/docs/api/csharp/microsoft.orleans.runtime/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Runtime) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Core/SystemTarget.cs#L15)

```csharp
public abstract class SystemTarget : ISystemTarget, ISystemTargetBase, IAddressable, IGrainCallCancellationExtension, IGrainContext, IGrainExtension, IGrainExtensionBinder, IGrainTimerRegistry, ITargetHolder, IDisposable, IEquatable<IGrainContext>, IFormattable, ISpanFormattable
```

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.

## Properties

- [ActivationServices](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/properties/activationservices-d68f4fad/)
- [Deactivated](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/properties/deactivated-5d55b4ff/)
- [GrainId](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/properties/grainid-0ee66456/)
- [GrainReference](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/properties/grainreference-e0308f46/)
- [Scheduler](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/properties/scheduler-1361e7b1/)
- [Silo](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/properties/silo-04423f4c/)

## Methods

- [Activate(Dictionary&lt;string, object&gt;, CancellationToken)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/activate-system-collections-generic-dictionary-string-object-nullable-system-thr-dd952eeb/)
- [Deactivate(DeactivationReason, CancellationToken)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/deactivate-orleans-deactivationreason-system-threading-cancellationtoken-00ee150f/)
- [Dispose](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/dispose-edaeeb0a/)
- [GetComponent](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/getcomponent-1-90c7c395/)
- [GetExtension](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/getextension-1-7a25ae0c/)
- [GetOrSetExtension(Func&lt;TExtension&gt;)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/getorsetextension-2-system-func-textension-d5b9a5ee/)
- [GetTarget](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/gettarget-6971be98/)
- [Migrate(Dictionary&lt;string, object&gt;, CancellationToken)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/migrate-system-collections-generic-dictionary-string-object-nullable-system-thre-f2378ca7/)
- [ReceiveMessage(object)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/receivemessage-object-b980162f/)
- [RegisterGrainTimer(Func&lt;CancellationToken, Task&gt;, TimeSpan, TimeSpan)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/registergraintimer-system-func-system-threading-cancellationtoken-system-threadi-33f688fd/)
- [RegisterGrainTimer(Func&lt;TState, CancellationToken, Task&gt;, TState, TimeSpan, TimeSpan)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/registergraintimer-1-system-func-tstate-system-threading-cancellationtoken-syste-1f7ed765/)
- [RegisterTimer(Func&lt;object?, Task&gt;, object?, TimeSpan, TimeSpan)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/registertimer-system-func-object-nullable-system-threading-tasks-task-object-nul-78cefed9/)
- [Rehydrate(IRehydrationContext)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/rehydrate-orleans-runtime-irehydrationcontext-7a09b31b/)
- [SetComponent(TComponent?)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/setcomponent-1-tcomponent-nullable-5383c46a/)
- [ToString](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.systemtarget/methods/tostring-b40d0f00/)
