Inheritance: IDebugErrorBreakpoint2
Esempio n. 1
0
        int IDebugPendingBreakpoint2.CanBind(out IEnumDebugErrorBreakpoints2 ppErrorEnum)
        {
            string message = GetBindError();

            if (message == null)
            {
                ppErrorEnum = null;
                return(VSConstants.S_OK);
            }

            var error = new AD7ErrorBreakpoint(this, new AD7ErrorBreakpointResolution(message));

            ppErrorEnum = new AD7ErrorBreakpointEnum(new IDebugErrorBreakpoint2[] { error });
            return(VSConstants.S_FALSE);
        }
Esempio n. 2
0
        int IDebugPendingBreakpoint2.CanBind(out IEnumDebugErrorBreakpoints2 ppErrorEnum) {
            string message = GetBindError();
            if (message == null) {
                ppErrorEnum = null;
                return VSConstants.S_OK;
            }

            var error = new AD7ErrorBreakpoint(this, new AD7ErrorBreakpointResolution(message));
            ppErrorEnum = new AD7ErrorBreakpointEnum(new IDebugErrorBreakpoint2[] { error });
            return VSConstants.S_FALSE;
        }