DsmlSoapConnection.BeginSession Method ()
Themethod instructs the DSML server to start a new session.
Assembly: System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)
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.
Available since 2.0