DsmlSoapHttpConnection.EndSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ends the session with the DSML server and clears the SessionId property.
public:
override void EndSession();
public override void EndSession ();
override this.EndSession : unit -> unit
Public Overrides Sub EndSession ()
Exceptions
There is a communications failure with the DSML server.
There is no open session.
Remarks
This method will block while waiting for a response from the DSML server and will time out according to the Timeout property.
If the DSML server has already terminated the session on its own, a WebException will be thrown. If the SessionId is still valid after the exception is thrown, the request never reached the server and the connection is still considered valid.
Applies to
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par