IDebugFunctionObject2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Important

In Visual Studio 2015, this way of implementing expression evaluators is deprecated. For information about implementing CLR expression evaluators, please see CLR Expression Evaluators and Managed Expression Evaluator Sample.

Represents a function and enhances the IDebugFunctionObject interface.

Syntax

IDebugFunctionObject2 : IUnknown

Notes for Implementers

An expression evaluator (EE) implements this interface to represent a function.

Notes for Callers

Methods of this interface defer those of IDebugFunctionObject in the following ways:

  • The IDebugEvaluate method takes flags.

  • The CreateObject method takes flags and a timeout.

  • The CreateStringObjectWithLength method takes a length.

Methods

This interface implements the following methods:

Method Description
CreateObject Creates an object that uses a constructor given evaluation flag settings and a timeout value.
CreateStringObjectWithLength Creates a string object that has the specified length.
Evaluate Calls the function and returns the resulting value as an object.

Requirements

Header: Ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll