MarkLogic XCC/.Net Library

Session Methods

The methods of the Session interface are listed below. For a complete list of Session interface members, see the Session Members topic.

Public Instance Methods

Close Shutdown and invalidate this Session and release any resources it may be holding. Any currently open streaming ResultSequence objects created from this Session will also be invalidated and closed.
Commit Not currently implemented.
InsertContentOverloaded. Insert the given Content into the contentbase. This is equivalent to calling InsertContent(Content[]) with an array length of one. Upon return, the content will have been inserted and committed. Content objects that are rewindable will be automatically retried if a recoverable error occurs during transmission to the server. To specify the maximum number of retry attemtps, set an instance of RequestOptions with the desired value (RequestOptions.MaxAutoRetry}) using the DefaultRequestOptions property prior to invoking this method.
NewAdhocQueryOverloaded. Create a new AdhocQuery object and initialize it with the given query string and RequestOptions object.
NewModuleInvokeOverloaded. Create a new ModuleInvoke object and initialize it with the given module URI and RequestOptions object.
NewModuleSpawnOverloaded. Create a new ModuleSpawn object and initialize it with the given module URI and RequestOptions object.
Rollback Not currently implemented.
SubmitRequest Submit a Request to the contentbase and return the (possibly empty) ResultSequence.

See Also

Session Interface | Marklogic.Xcc Namespace