Skip to content

Silo Methods

Orleans silo.

Dispose

View source
public void Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DisposeAsync

View source
public ValueTask DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

Returns

A task that represents the asynchronous dispose operation.

StartAsync(CancellationToken)

View source
public Task StartAsync(CancellationToken cancellationToken)
Starts the silo.

Parameters

cancellationTokenCancellationToken
A cancellation token which can be used to cancel the operation.

Returns

A System.Threading.Tasks.Task representing the operation.

Stop

View source
public void Stop()
Gracefully stop the run time system only, but not the application. Applications requests would be abruptly terminated, while the internal system state gracefully stopped and saved as much as possible. Grains are not deactivated.

StopAsync(CancellationToken)

View source
public Task StopAsync(CancellationToken cancellationToken)
Gracefully stop the run time system only, but not the application. Applications requests would be abruptly terminated, while the internal system state gracefully stopped and saved as much as possible.

Parameters

cancellationTokenCancellationToken
A cancellation token which can be used to promptly terminate the silo.

Returns

A System.Threading.Tasks.Task representing the operation.

ToString

override
View source
public override string ToString()
Returns a string that represents the current object.

Returns

A string that represents the current object.