MarkLogic XCC/.Net Library |

# Session.NewModuleInvoke Method (String, RequestOptions)

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

[Visual Basic]
Function NewModuleInvoke( _
ByVal moduleUri As String, _
ByVal options As RequestOptions _
) As ModuleInvoke
[C#]
ModuleInvoke NewModuleInvoke(
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 ModuleInvoke object. This can be overridden later.

#### Return Value

An initialized instance of ModuleInvoke.

#### See Also

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