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
- AutomationPropertyInfo.cs
- LockCookie.cs
- ExceptionCollection.cs
- SafeFileMappingHandle.cs
- CompilerState.cs
- RequestResizeEvent.cs
- ResizeGrip.cs
- TranslateTransform3D.cs
- MediaElement.cs
- DictionaryGlobals.cs
- OdbcConnectionFactory.cs
- Registry.cs
- BrowserCapabilitiesCompiler.cs
- CryptoStream.cs
- PropertyDescriptor.cs
- Types.cs
- Helpers.cs
- AddInActivator.cs
- control.ime.cs
- CursorConverter.cs
- UInt32Storage.cs
- EntityDataSourceDataSelection.cs
- PropagatorResult.cs
- GorillaCodec.cs
- ReaderWriterLockWrapper.cs
- _LocalDataStore.cs
- ColorMatrix.cs
- FastEncoderWindow.cs
- RepeatBehavior.cs
- SqlBulkCopyColumnMapping.cs
- arc.cs
- WebMessageEncodingBindingElement.cs
- X509ChainElement.cs
- ToolStripGripRenderEventArgs.cs
- BinaryCommonClasses.cs
- EntityDesignerUtils.cs
- TextOptions.cs
- TextEncodedRawTextWriter.cs
- XmlDataLoader.cs
- _HTTPDateParse.cs
- PrintControllerWithStatusDialog.cs
- SoapExtensionReflector.cs
- TheQuery.cs
- Timer.cs
- AsmxEndpointPickerExtension.cs
- DesignerValidationSummaryAdapter.cs
- ConfigXmlElement.cs
- VirtualPath.cs
- DictionaryTraceRecord.cs
- RenderContext.cs
- SapiInterop.cs
- LineServices.cs
- DropAnimation.xaml.cs
- CustomTokenProvider.cs
- CommonRemoteMemoryBlock.cs
- UnsafeNativeMethods.cs
- MenuStrip.cs
- EntityDataSourceQueryBuilder.cs
- DecoderExceptionFallback.cs
- FrameworkContextData.cs
- BlockCollection.cs
- SerializationInfo.cs
- ColumnPropertiesGroup.cs
- TextModifier.cs
- MSAANativeProvider.cs
- SymbolTable.cs
- DataGridViewCellStateChangedEventArgs.cs
- TerminateSequenceResponse.cs
- PieceDirectory.cs
- XmlSchemaImport.cs
- GroupAggregateExpr.cs
- RelationalExpressions.cs
- DesignerCalendarAdapter.cs
- PersonalizationStateQuery.cs
- LogLogRecordEnumerator.cs
- DesignerCatalogPartChrome.cs
- WsatTransactionInfo.cs
- CharacterBufferReference.cs
- WeakReferenceList.cs
- CodeMemberEvent.cs
- _NetRes.cs
- SoapMessage.cs
- MethodResolver.cs
- UserMapPath.cs
- DataKey.cs
- ToolStripSplitButton.cs
- UnsafeNativeMethodsTablet.cs
- ClientUtils.cs
- DataBoundControl.cs
- hwndwrapper.cs
- Transform3DGroup.cs
- ButtonChrome.cs
- WebPartHeaderCloseVerb.cs
- SqlLiftIndependentRowExpressions.cs
- DoubleCollection.cs
- PenCursorManager.cs
- ArraySegment.cs
- CompiledIdentityConstraint.cs
- Source.cs
- ReadOnlyMetadataCollection.cs