Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
このドメインにロードされたすべての起動クラスを返します。
Public Function GetStartClassInstances() As Object()
public object[] GetStartClassInstances()
サーバ起動時に構築されたすべての起動クラスの配列。起動クラスがない場合、配列の長さは 0 です。
ユーザ定義起動クラスの詳細については、ユーザ定義起動クラスを参照してください。
次の例は、起動クラスの検索方法を示します。
void FindStartClass( ServerContext sc, string name ) { object[] startClasses = sc.GetStartClassInstances(); foreach( object obj in startClasses ) { if( obj is MyClass ) { // Execute some code..... } } }