ClearContext Method

Clears the conversation context.

Syntax

Session.ClearContext

Part Description
Session An object variable representing an existing domain object.

Applies To

Session

Remarks

This method resets the user’s session to its initial state, identical to immediately after InitDomain was called, thereby clearing all declarative statements and previously saved questions (which could be used for pronoun or elliptical reference).

See Also

InitDomain Method, ParseRequest Method, RetainContext Property


(c) 1996-1998 Microsoft Corporation. All Rights Reserved.