Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Dispatcher / QueryException.cs / 1 / QueryException.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System; using System.Xml; using System.Xml.XPath; internal enum QueryProcessingError { None, Unexpected, TypeMismatch, UnsupportedXmlNodeType, NodeCountMaxExceeded, InvalidXmlAttributes, InvalidNavigatorPosition, NotAtomized, NotSupported, InvalidBodyAccess, InvalidNamespacePrefix } internal class QueryProcessingException : XPathException { QueryProcessingError error; internal QueryProcessingException(QueryProcessingError error, string message) : base(message, null) { this.error = error; } internal QueryProcessingException(QueryProcessingError error) : this(error, null) { this.error = error; } public override string ToString() { return this.error.ToString(); } } internal enum QueryCompileError { None, General, CouldNotParseExpression, UnexpectedToken, UnsupportedOperator, UnsupportedAxis, UnsupportedFunction, UnsupportedNodeTest, UnsupportedExpression, AbsolutePathRequired, InvalidNCName, InvalidVariable, InvalidNumber, InvalidLiteral, InvalidOperatorName, InvalidNodeType, InvalidExpression, InvalidFunction, InvalidLocationPath, InvalidLocationStep, InvalidAxisSpecifier, InvalidNodeTest, InvalidPredicate, InvalidComparison, InvalidOrdinal, InvalidType, InvalidTypeConversion, NoNamespaceForPrefix, MismatchedParen, DuplicateOpcode, OpcodeExists, OpcodeNotFound, PredicateNestingTooDeep } internal class QueryCompileException : XPathException { QueryCompileError error; internal QueryCompileException(QueryCompileError error, string message) : base(message, null) { this.error = error; } internal QueryCompileException(QueryCompileError error) : this(error, null) { this.error = error; } public override string ToString() { return this.error.ToString(); } } } // 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
- FlowDocumentScrollViewer.cs
- UrlPath.cs
- NonBatchDirectoryCompiler.cs
- CustomError.cs
- RemotingServices.cs
- DbConnectionStringCommon.cs
- AttributeSetAction.cs
- EnumBuilder.cs
- PEFileEvidenceFactory.cs
- BooleanKeyFrameCollection.cs
- COM2Enum.cs
- Registry.cs
- ValidationRule.cs
- OLEDB_Util.cs
- UnauthorizedWebPart.cs
- ListViewTableCell.cs
- PageVisual.cs
- CanonicalXml.cs
- SuppressMessageAttribute.cs
- RemotingAttributes.cs
- FormViewModeEventArgs.cs
- ScrollItemProviderWrapper.cs
- LexicalChunk.cs
- MailHeaderInfo.cs
- MimeParameters.cs
- DBSqlParserColumnCollection.cs
- PropertyFilterAttribute.cs
- SelectorAutomationPeer.cs
- SortedSet.cs
- MessageSmuggler.cs
- WebPartConnectionsCloseVerb.cs
- FixedTextContainer.cs
- TypeExtension.cs
- FunctionQuery.cs
- WindowCollection.cs
- FrameworkElement.cs
- DateTimeConverter.cs
- ArrayWithOffset.cs
- CollectionViewGroupRoot.cs
- FormsAuthenticationUser.cs
- PluralizationService.cs
- TextPatternIdentifiers.cs
- X509ChainPolicy.cs
- SmiEventSink.cs
- XmlAttributes.cs
- ObjectIDGenerator.cs
- WindowsScrollBarBits.cs
- ObsoleteAttribute.cs
- MediaCommands.cs
- WebColorConverter.cs
- DataGrid.cs
- ScrollChangedEventArgs.cs
- WebBrowserUriTypeConverter.cs
- ToolboxDataAttribute.cs
- MsmqElementBase.cs
- Repeater.cs
- XsdValidatingReader.cs
- LicFileLicenseProvider.cs
- HandleRef.cs
- SchemaObjectWriter.cs
- PropertyGridCommands.cs
- TypeConverterAttribute.cs
- DbParameterCollection.cs
- ToolStripDesignerAvailabilityAttribute.cs
- ServiceDescriptionImporter.cs
- BaseCAMarshaler.cs
- ConfigXmlComment.cs
- NameHandler.cs
- DiscreteKeyFrames.cs
- StateWorkerRequest.cs
- WindowsAltTab.cs
- Timer.cs
- MutableAssemblyCacheEntry.cs
- EmptyQuery.cs
- ExpressionContext.cs
- Instrumentation.cs
- LocatorPartList.cs
- ObjectStorage.cs
- XsltInput.cs
- FileNotFoundException.cs
- DesignOnlyAttribute.cs
- ExpressionBinding.cs
- WinInet.cs
- input.cs
- LocalizeDesigner.cs
- SrgsText.cs
- TextBoxView.cs
- StackBuilderSink.cs
- ProcessModuleCollection.cs
- BitmapEffectDrawing.cs
- CallbackHandler.cs
- MimeReturn.cs
- Annotation.cs
- InvalidOperationException.cs
- OSEnvironmentHelper.cs
- TransferRequestHandler.cs
- DataListDesigner.cs
- UIElementCollection.cs
- BaseDataListPage.cs
- XmlAggregates.cs