NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Assembly.DefineDynamicModule (String, Boolean)

Defines a named dynamic module in this assembly and specifies whether or not symbol information should be emitted. The defined dynamic module is transient.

[Visual Basic]
Overloads Overridable Public Function DefineDynamicModule( _
   ByVal name As String, _
   ByVal emitSymbolInfo As Boolean _
) As ModuleBuilder
[C#]
public virtual ModuleBuilder DefineDynamicModule(
   string name,
   bool emitSymbolInfo
);
[C++]
public: virtual ModuleBuilder* DefineDynamicModule(
   String* name,
   bool emitSymbolInfo
);
[JScript]
public function DefineDynamicModule(
   name : String,
   emitSymbolInfo : Boolean
) : ModuleBuilder;

Parameters

name
The name of the dynamic module.
emitSymbolInfo
true if symbol information is to be emitted. Otherwise, false.

Return Value

A ModuleBuilder representing the defined dynamic module.

Exceptions

Exception Type Condition
ExecutionEngineException if the default symbol writer cannot be loaded.

Remarks

It is an error to define multiple dynamic modules with the same name in an assembly.

See Also

Assembly Class | Assembly Members | System.Reflection Namespace | Assembly.DefineDynamicModule Overload List