ReadOnlyAttribute
class
Namespace: Orleans.Concurrency
The ReadOnly attribute is used to mark methods that do not modify the state of a grain.
Marking methods as ReadOnly allows the run-time system to perform a number of optimizations that may significantly improve the performance of your application.
public sealed class ReadOnlyAttribute : Attribute