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
- ToolStripItemDesigner.cs
- CreateUserWizardAutoFormat.cs
- TypographyProperties.cs
- ExceptionUtil.cs
- BorderGapMaskConverter.cs
- path.cs
- UpdateCommand.cs
- XmlSchemaObjectCollection.cs
- SupportsEventValidationAttribute.cs
- SiteIdentityPermission.cs
- RemotingConfiguration.cs
- IdentityNotMappedException.cs
- DropDownList.cs
- TouchPoint.cs
- QilInvokeLateBound.cs
- XmlCharCheckingReader.cs
- FormViewDeleteEventArgs.cs
- PasswordPropertyTextAttribute.cs
- ExportException.cs
- ClosableStream.cs
- Converter.cs
- EntityCommandCompilationException.cs
- RestClientProxyHandler.cs
- HttpPostProtocolReflector.cs
- SystemException.cs
- ControlBindingsCollection.cs
- Int64Converter.cs
- PointConverter.cs
- PinnedBufferMemoryStream.cs
- GuidTagList.cs
- ProcessHostConfigUtils.cs
- nulltextcontainer.cs
- PropertyNames.cs
- COM2ColorConverter.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- dbenumerator.cs
- DelegateBodyWriter.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- ByValueEqualityComparer.cs
- WebServiceAttribute.cs
- OutputCacheSettings.cs
- DataBoundControlHelper.cs
- XmlIncludeAttribute.cs
- ObjectListTitleAttribute.cs
- DelayDesigner.cs
- WindowsEditBox.cs
- PackagePartCollection.cs
- TypeSystem.cs
- DoubleCollectionConverter.cs
- ZipIOBlockManager.cs
- ConfigViewGenerator.cs
- InvalidateEvent.cs
- columnmapfactory.cs
- ProcessHost.cs
- ButtonBaseAutomationPeer.cs
- AbstractSvcMapFileLoader.cs
- PrintDocument.cs
- Util.cs
- bindurihelper.cs
- OletxDependentTransaction.cs
- TypeDependencyAttribute.cs
- Int32CollectionValueSerializer.cs
- Renderer.cs
- DocumentPropertiesDialog.cs
- XPathConvert.cs
- DispatchChannelSink.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ISCIIEncoding.cs
- HeaderElement.cs
- KnownBoxes.cs
- DynamicResourceExtension.cs
- shaperfactoryquerycachekey.cs
- BuilderInfo.cs
- EntityDataSourceReferenceGroup.cs
- ConfigXmlText.cs
- ReferencedAssemblyResolver.cs
- WindowsTokenRoleProvider.cs
- ObjectAssociationEndMapping.cs
- CodeEntryPointMethod.cs
- RegularExpressionValidator.cs
- ReadOnlyDataSourceView.cs
- StateWorkerRequest.cs
- GeneralTransform3DTo2DTo3D.cs
- StateMachineWorkflowDesigner.cs
- UserControlBuildProvider.cs
- brushes.cs
- AlgoModule.cs
- StylusShape.cs
- ToolStripSeparatorRenderEventArgs.cs
- FieldDescriptor.cs
- WindowsEditBox.cs
- ForeignKeyConstraint.cs
- GridViewColumnHeader.cs
- DataGridViewColumnStateChangedEventArgs.cs
- OneOfConst.cs
- FunctionDetailsReader.cs
- FormViewDeleteEventArgs.cs
- Configuration.cs
- LinkClickEvent.cs
- MediaPlayerState.cs