DsmlSoapConnection.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:
abstract void EndSession();
public abstract void EndSession ();
abstract member EndSession : unit -> unit
Public MustOverride Sub EndSession ()
Exceptions
A communications failure occurred with the DSML server.
There is no open session.
Remarks
The method will block while waiting for a response from the DSML server and will timeout according to the Timeout property.
If the DSML server terminates the session, a WebException is thrown. If SessionId is still valid after the exception is thrown, the request never reached the server and the connection is still considered valid.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om