Class ServiceAttribute
- Namespace
- Restate.Sdk
- Assembly
- Restate.Sdk.dll
Marks a class as a Restate service — a stateless handler group with durable execution.
[AttributeUsage(AttributeTargets.Class)]
public sealed class ServiceAttribute : Attribute
- Inheritance
-
ServiceAttribute
- Inherited Members
Properties
Name
Override the service name used in discovery and invocation routing. Defaults to the class name.
public string? Name { get; set; }