DsmlSoapHttpConnection.BeginSession Método
Definição
O método BeginSession() instrui o servidor DSML para iniciar uma nova sessão.The BeginSession() method instructs the DSML server to start a new session.
public:
override void BeginSession();
public override void BeginSession ();
override this.BeginSession : unit -> unit
Public Overrides Sub BeginSession ()
Exceções
Gerada quando uma sessão já está aberta na conexão.Thrown when a session is already open on the connection.
Gerada quando o XML retornado pelo servidor em resposta ao BeginSession() não está bem formado.Thrown when the XML returned from the Server in response to the BeginSession() is not well-formed.
Gerada quando há uma falha de comunicação com o servidor DSML ou quando o servidor está fora das sessões disponíveis.Thrown when there is a communications failure with the DSML server or when the server is out of available sessions.
Comentários
O método será bloqueado enquanto aguarda uma resposta do servidor DSML e atingirá o tempo limite de acordo com a Timeout propriedade.The method will block while waiting for a response from the DSML server and will time out according to the Timeout property.