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
- PropertyToken.cs
- ToolStripProgressBar.cs
- ConfigurationLocationCollection.cs
- WorkflowPersistenceService.cs
- XmlStringTable.cs
- XmlReaderDelegator.cs
- fixedPageContentExtractor.cs
- OpCopier.cs
- EncoderParameters.cs
- WindowsClientCredential.cs
- PageAsyncTask.cs
- StrokeCollection2.cs
- HTMLTextWriter.cs
- StringResourceManager.cs
- TrackingSection.cs
- Cursors.cs
- ADConnectionHelper.cs
- Attributes.cs
- XamlBrushSerializer.cs
- localization.cs
- DataBindingHandlerAttribute.cs
- CodeAttributeArgument.cs
- ProfileService.cs
- TimeSpanConverter.cs
- DrawingAttributeSerializer.cs
- PathFigure.cs
- LocatorPart.cs
- MailMessageEventArgs.cs
- HttpResponse.cs
- LogEntryDeserializer.cs
- ProtocolsInstallComponent.cs
- ToolStripDropTargetManager.cs
- ToolstripProfessionalRenderer.cs
- ImageMapEventArgs.cs
- ObjectPersistData.cs
- CaseStatement.cs
- DataGridViewAccessibleObject.cs
- HostedElements.cs
- ItemAutomationPeer.cs
- BamlLocalizationDictionary.cs
- Storyboard.cs
- BuiltInExpr.cs
- StructuralCache.cs
- GenerateHelper.cs
- MsmqException.cs
- AddInServer.cs
- ErrorFormatter.cs
- Model3DGroup.cs
- HttpBindingExtension.cs
- XPathBinder.cs
- DataRowView.cs
- FixedSOMTableCell.cs
- ActivitySurrogateSelector.cs
- DurableInstanceManager.cs
- CodeObjectCreateExpression.cs
- ClientScriptManager.cs
- Label.cs
- CheckBox.cs
- SQLGuid.cs
- Collection.cs
- SystemResourceHost.cs
- IUnknownConstantAttribute.cs
- MaterialCollection.cs
- SequenceDesigner.xaml.cs
- TemplateColumn.cs
- NamespaceQuery.cs
- HttpClientProtocol.cs
- HttpsHostedTransportConfiguration.cs
- WebPartConnectVerb.cs
- FixedBufferAttribute.cs
- SafeNativeMethodsCLR.cs
- Region.cs
- HostExecutionContextManager.cs
- OrderedEnumerableRowCollection.cs
- WebPartConnectionsConfigureVerb.cs
- DataGridComboBoxColumn.cs
- PluggableProtocol.cs
- DataServiceResponse.cs
- GridViewDeletedEventArgs.cs
- WmfPlaceableFileHeader.cs
- ComboBox.cs
- ScrollEvent.cs
- StreamSecurityUpgradeProvider.cs
- FormsAuthentication.cs
- CreateInstanceBinder.cs
- DataStreams.cs
- SerializerDescriptor.cs
- MulticastNotSupportedException.cs
- UnauthorizedWebPart.cs
- AudioLevelUpdatedEventArgs.cs
- ToolStripSplitStackLayout.cs
- AnnotationResourceCollection.cs
- OrderPreservingSpoolingTask.cs
- Rule.cs
- RemotingConfigParser.cs
- WebBrowserPermission.cs
- _Win32.cs
- BoundPropertyEntry.cs
- BuildManagerHost.cs
- SelectionBorderGlyph.cs