Inheritance: IDebugErrorBreakpoint2
示例#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);
        }
示例#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;
        }