Skip to content

StandaloneSiloHandle

class

Namespace: Orleans.TestingHost

A silo handle and factory which spawns a separate process for each silo.
public class StandaloneSiloHandle : SiloHandle

Constructors

Properties

  • IsActiveGets whether the remote silo is expected to be active

Methods

  • Create(string, IConfiguration) Spawns a new process to host a silo, using the executable provided in the configuration's "ExecutablePath" property as the entry point.
  • CreateDelegate(string) Creates a delegate which spawns a silo in a new process, using the provided executable as the entry point for that silo.
  • CreateForAssembly(Assembly) Creates a delegate which spawns a silo in a new process, with the provided assembly (or its executable counterpart, if it is a library) being the entry point for that silo.
  • DisposeAsync Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
  • StopSiloAsync(CancellationToken)Stop the remote silo. This method cannot be use with AppDomain
  • StopSiloAsync(bool)Stop the remote silo

Fields