Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Activities / Rules / Parser / Exceptions.cs / 1305376 / Exceptions.cs
// ---------------------------------------------------------------------------- // Copyright (C) 2006 Microsoft Corporation All Rights Reserved // --------------------------------------------------------------------------- #define CODE_ANALYSIS using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; using System.Security.Permissions; namespace System.Workflow.Activities.Rules { // RuleBuilderSyntaxException contains syntax error information in cases where the RuleBuilder // failed to parse the expression. [Serializable] [SuppressMessage("Microsoft.Design", "CA1064:ExceptionsShouldBePublic")] internal class RuleSyntaxException : SystemException { private int position; private int errorNumber; #region Constructors internal RuleSyntaxException() { } internal RuleSyntaxException(int errorNumber, string message, int position) : base(message) { this.errorNumber = errorNumber; this.position = position; } [SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)] private RuleSyntaxException(SerializationInfo serializeInfo, StreamingContext context) : base(serializeInfo, context) { } #endregion internal int Position { get { return position; } } internal int ErrorNumber { get { return errorNumber; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- // Copyright (C) 2006 Microsoft Corporation All Rights Reserved // --------------------------------------------------------------------------- #define CODE_ANALYSIS using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; using System.Security.Permissions; namespace System.Workflow.Activities.Rules { // RuleBuilderSyntaxException contains syntax error information in cases where the RuleBuilder // failed to parse the expression. [Serializable] [SuppressMessage("Microsoft.Design", "CA1064:ExceptionsShouldBePublic")] internal class RuleSyntaxException : SystemException { private int position; private int errorNumber; #region Constructors internal RuleSyntaxException() { } internal RuleSyntaxException(int errorNumber, string message, int position) : base(message) { this.errorNumber = errorNumber; this.position = position; } [SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)] private RuleSyntaxException(SerializationInfo serializeInfo, StreamingContext context) : base(serializeInfo, context) { } #endregion internal int Position { get { return position; } } internal int ErrorNumber { get { return errorNumber; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebFormsRootDesigner.cs
- IisTraceWebEventProvider.cs
- MdImport.cs
- RouteData.cs
- xml.cs
- Int16AnimationUsingKeyFrames.cs
- basevalidator.cs
- DispatcherHookEventArgs.cs
- Exceptions.cs
- ProfileService.cs
- PeerResolverElement.cs
- InputMethodStateChangeEventArgs.cs
- ApplicationInfo.cs
- ExceptionRoutedEventArgs.cs
- EmptyControlCollection.cs
- DoubleAnimation.cs
- SqlTypeConverter.cs
- ResourcesGenerator.cs
- ToolStripRenderEventArgs.cs
- HttpException.cs
- MatrixStack.cs
- AsyncWaitHandle.cs
- CodeObjectCreateExpression.cs
- TerminatorSinks.cs
- XmlCharType.cs
- ViewGenerator.cs
- Rectangle.cs
- DataServiceEntityAttribute.cs
- PropertyPath.cs
- FigureParaClient.cs
- ImageIndexEditor.cs
- CompilationUtil.cs
- LabelEditEvent.cs
- DataTransferEventArgs.cs
- Avt.cs
- FileSystemWatcher.cs
- XmlDeclaration.cs
- StylusPointProperties.cs
- SQLDecimalStorage.cs
- ColumnHeaderConverter.cs
- NaturalLanguageHyphenator.cs
- PieceNameHelper.cs
- ProcessModuleCollection.cs
- SystemFonts.cs
- ReaderOutput.cs
- AddInProcess.cs
- ViewStateException.cs
- HttpCacheVaryByContentEncodings.cs
- SqlRewriteScalarSubqueries.cs
- BitmapEffectRenderDataResource.cs
- RTLAwareMessageBox.cs
- WebPartDescriptionCollection.cs
- HyperLinkDataBindingHandler.cs
- HtmlObjectListAdapter.cs
- XmlEntity.cs
- ACL.cs
- InternalBase.cs
- SiteMapNode.cs
- WebFormDesignerActionService.cs
- DefaultBindingPropertyAttribute.cs
- LabelLiteral.cs
- FileDialogPermission.cs
- FigureParagraph.cs
- WebServicesSection.cs
- DataGridViewDataConnection.cs
- RijndaelManaged.cs
- FontWeight.cs
- LineSegment.cs
- CodeTypeReferenceSerializer.cs
- Parser.cs
- Attribute.cs
- PersianCalendar.cs
- Unit.cs
- XmlSchemaAttributeGroupRef.cs
- InputBinder.cs
- XmlTypeAttribute.cs
- MimePart.cs
- ReceiveActivityValidator.cs
- FragmentQuery.cs
- Point4D.cs
- SoapSchemaExporter.cs
- WebPartDisplayModeCollection.cs
- WebUtil.cs
- MetadataConversionError.cs
- InvalidCommandTreeException.cs
- UpDownBaseDesigner.cs
- CompositeCollectionView.cs
- BrowserDefinition.cs
- XmlQueryStaticData.cs
- ExcCanonicalXml.cs
- DataListItem.cs
- ComponentGlyph.cs
- LogSwitch.cs
- FillRuleValidation.cs
- XmlSchemaSimpleContentExtension.cs
- CompressStream.cs
- XPathAxisIterator.cs
- TemplateKeyConverter.cs
- WpfWebRequestHelper.cs
- RowVisual.cs