Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Security / XMLSyntaxException.cs / 1 / XMLSyntaxException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Security { using System; using System.Runtime.Serialization; using System.Globalization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] sealed public class XmlSyntaxException : SystemException { public XmlSyntaxException () : base (Environment.GetResourceString( "XMLSyntax_InvalidSyntax" )) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (String message) : base (message) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (String message, Exception inner) : base (message, inner) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (int lineNumber) : base (String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxError" ), lineNumber ) ) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException( int lineNumber, String message ) : base( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxErrorEx" ), lineNumber, message ) ) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } internal XmlSyntaxException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Security { using System; using System.Runtime.Serialization; using System.Globalization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] sealed public class XmlSyntaxException : SystemException { public XmlSyntaxException () : base (Environment.GetResourceString( "XMLSyntax_InvalidSyntax" )) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (String message) : base (message) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (String message, Exception inner) : base (message, inner) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException (int lineNumber) : base (String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxError" ), lineNumber ) ) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } public XmlSyntaxException( int lineNumber, String message ) : base( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxErrorEx" ), lineNumber, message ) ) { SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); } internal XmlSyntaxException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DoubleIndependentAnimationStorage.cs
- ObjectCloneHelper.cs
- QuotedStringWriteStateInfo.cs
- DataGridToolTip.cs
- StringToken.cs
- BindingGraph.cs
- _ContextAwareResult.cs
- BypassElementCollection.cs
- LongTypeConverter.cs
- CodeConditionStatement.cs
- GridViewCancelEditEventArgs.cs
- PointCollectionConverter.cs
- InvokeHandlers.cs
- _SingleItemRequestCache.cs
- RecognizerInfo.cs
- LayoutEditorPart.cs
- TouchFrameEventArgs.cs
- nulltextnavigator.cs
- PointValueSerializer.cs
- ErrorEventArgs.cs
- ListBox.cs
- XmlValidatingReader.cs
- ArraySegment.cs
- DecoderFallbackWithFailureFlag.cs
- HostedHttpTransportManager.cs
- UIPropertyMetadata.cs
- UInt32Storage.cs
- Size.cs
- RegistryKey.cs
- Int64AnimationUsingKeyFrames.cs
- TextServicesCompartment.cs
- SuppressIldasmAttribute.cs
- ParameterCollection.cs
- XPathNavigatorReader.cs
- ScopeCompiler.cs
- MediaCommands.cs
- HuffmanTree.cs
- CdpEqualityComparer.cs
- QueryExpr.cs
- JsonObjectDataContract.cs
- MobileControlsSectionHandler.cs
- SQLInt16.cs
- formatter.cs
- AnimationLayer.cs
- GraphicsPath.cs
- DefaultTextStoreTextComposition.cs
- TextContainerHelper.cs
- ReturnType.cs
- SqlNode.cs
- SchemaAttDef.cs
- ContentPresenter.cs
- CacheRequest.cs
- Point.cs
- MarshalDirectiveException.cs
- ComponentChangedEvent.cs
- SecurityKeyUsage.cs
- WebPartAddingEventArgs.cs
- ElementsClipboardData.cs
- DataGridSortingEventArgs.cs
- SafeEventLogReadHandle.cs
- CellQuery.cs
- TimeSpanOrInfiniteValidator.cs
- HtmlInputFile.cs
- WebPartUtil.cs
- StylusEventArgs.cs
- GatewayDefinition.cs
- PointLightBase.cs
- StandardToolWindows.cs
- DeleteBookmarkScope.cs
- StdRegProviderWrapper.cs
- DataListItemEventArgs.cs
- DataGridToolTip.cs
- NativeMethods.cs
- ZipPackagePart.cs
- InfoCardClaimCollection.cs
- MemberInfoSerializationHolder.cs
- RelationshipType.cs
- CTreeGenerator.cs
- Brush.cs
- OperationCanceledException.cs
- OutputWindow.cs
- TransformDescriptor.cs
- WmlLiteralTextAdapter.cs
- DbParameterCollectionHelper.cs
- StateMachine.cs
- RemoteWebConfigurationHostStream.cs
- RegexGroup.cs
- ArraySegment.cs
- FormViewCommandEventArgs.cs
- PowerEase.cs
- TreeView.cs
- ParamArrayAttribute.cs
- StackSpiller.Temps.cs
- ContactManager.cs
- RoutedEventConverter.cs
- UnsafeNativeMethods.cs
- Int16Converter.cs
- ThemeDictionaryExtension.cs
- SqlMultiplexer.cs
- SqlClientPermission.cs