YFunction Constructor(Boolean)
In This Topic
Initializes a new instance of the
YFunction class. Specifies whether the YFunction object should be created in a way that allows the compiled functions (in-memory assemblies) be unloaded. When the Disposable parameter is true, an in-memory assembly is created another AppDomain which is unloaded from the application when the YFunction object goes out of scope. If the Disposable parameter is false, then the in-memory created assemblies cannot be unloaded until the application is terminated. Note that an AppDomain is used only if the current permission set allows. Web applications always create function assemblies in the current AppDomain.
Syntax
'Declaration
Public Function New( _
ByVal As System.Boolean _
)
public YFunction(
System.bool
)
Parameters
- Disposable
- Specifies whether the YFunction object should be created in a way that allows the compiled functions (in-memory assemblies) be unloaded.
See Also