Returns all start classes loaded into this domain.
Public Function GetStartClassInstances() As Object()
public object[] GetStartClassInstances()
An array of all start classes that were constructed at the server start time. The array length is zero if there are no start classes.
For more information about user-defined start classes, see User-defined start classes.
The following example demonstrates how to find a start class:
void FindStartClass( ServerContext sc, string name ) { object[] startClasses = sc.GetStartClassInstances(); foreach( object obj in startClasses ) { if( obj is MyClass ) { // Execute some code..... } } }