Skip to content

SiloHandle Methods

Represents a handle to a silo that is remotely deployed

Dispose

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

DisposeAsync

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

Returns

A task that represents the asynchronous dispose operation.

StopSiloAsync(CancellationToken)

abstract
public abstract Task StopSiloAsync(CancellationToken ct)
Stop the remote silo. This method cannot be use with AppDomain

Parameters

ctCancellationToken
Specifies the cancellation token to use for the shutdown sequence

StopSiloAsync(bool)

abstract
public abstract Task StopSiloAsync(bool stopGracefully)
Stop the remote silo

Parameters

stopGracefullybool
Specifies whether the silo should be stopped gracefully or abruptly.

ToString

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

Returns

A string that represents the current object.