MarkLogic XCC/.Net Library

Session.NewModuleSpawn Method (String, RequestOptions)

Create a new ModuleSpawn object and initialize it with the given module URI and RequestOptions object.

[Visual Basic]
Function NewModuleSpawn( _
   ByVal moduleUri As String, _
   ByVal options As RequestOptions _
) As ModuleSpawn
[C#]
ModuleSpawn NewModuleSpawn(
   string moduleUri,
   RequestOptions options
);

Parameters

moduleUri
The URI of a module on the server to be invoked.
options
An instance of RequestOptions to be set on the returned ModuleSpawn object. This can be overridden later.

Return Value

An initialized instance of ModuleSpawn.

See Also

Session Interface | Marklogic.Xcc Namespace | Session.NewModuleSpawn Overload List