DsmlSoapConnection.BeginSession Method ()


The BeginSession method instructs the DSML server to start a new session.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

	Unrestricted = true)]
public abstract void BeginSession()

Exception Condition

Thrown when a session is already open on the connection.


Thrown when the XML returned from the Server in response to the BeginSession is not well-formed.


Thrown when there is a communications failure with the DSML server.

The method will block while waiting for a response from the DSML server and will timeout according to the Timeout property.

.NET Framework
Available since 2.0
Return to top