Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / XMLSyntaxException.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FormViewInsertedEventArgs.cs
- OdbcUtils.cs
- AutoResetEvent.cs
- CultureInfo.cs
- SymbolEqualComparer.cs
- FreezableCollection.cs
- ImageCodecInfo.cs
- HtmlImageAdapter.cs
- DiagnosticTraceSource.cs
- PluralizationService.cs
- CodePageEncoding.cs
- DataGridViewButtonColumn.cs
- Pen.cs
- PerformanceCounterPermissionEntryCollection.cs
- _LoggingObject.cs
- CssTextWriter.cs
- ColorContextHelper.cs
- XmlSortKeyAccumulator.cs
- BitmapEffectCollection.cs
- TagMapCollection.cs
- PointAnimationUsingKeyFrames.cs
- DocumentOrderComparer.cs
- RecognizerBase.cs
- BrowserDefinitionCollection.cs
- DataGridViewImageColumn.cs
- StackBuilderSink.cs
- CustomLineCap.cs
- ApplicationDirectory.cs
- HandleRef.cs
- SimplePropertyEntry.cs
- PasswordTextContainer.cs
- DataGridViewDataErrorEventArgs.cs
- ProjectionPathSegment.cs
- mediaeventshelper.cs
- PreloadHost.cs
- OpenTypeLayout.cs
- ZeroOpNode.cs
- LinkLabelLinkClickedEvent.cs
- PageAsyncTask.cs
- EnumBuilder.cs
- XmlComment.cs
- SafeCryptContextHandle.cs
- ObsoleteAttribute.cs
- TraceLevelHelper.cs
- TableRowCollection.cs
- MetadataItemEmitter.cs
- SecureUICommand.cs
- TableLayoutRowStyleCollection.cs
- Literal.cs
- CodeMemberProperty.cs
- CaseInsensitiveComparer.cs
- CharStorage.cs
- XmlNode.cs
- COM2PictureConverter.cs
- WsdlContractConversionContext.cs
- ExclusiveNamedPipeTransportManager.cs
- HttpDictionary.cs
- TreeViewBindingsEditor.cs
- IPGlobalProperties.cs
- Image.cs
- SingleConverter.cs
- VisualStyleRenderer.cs
- TextDecorationCollection.cs
- ExceptionUtility.cs
- RegexCaptureCollection.cs
- ScopelessEnumAttribute.cs
- SoapTypeAttribute.cs
- State.cs
- SqlBuilder.cs
- SimpleWebHandlerParser.cs
- OperationCanceledException.cs
- DeferredTextReference.cs
- DataKey.cs
- PathHelper.cs
- TouchDevice.cs
- InternalConfigRoot.cs
- DataGridViewComboBoxColumnDesigner.cs
- DataExpression.cs
- HttpResponse.cs
- NativeBuffer.cs
- BasePropertyDescriptor.cs
- TraversalRequest.cs
- CodeDirectiveCollection.cs
- TextModifierScope.cs
- XmlSchemaAttributeGroupRef.cs
- OleDbInfoMessageEvent.cs
- ListParagraph.cs
- XmlSchemaGroup.cs
- ChangeConflicts.cs
- XsltSettings.cs
- ErrorWebPart.cs
- Roles.cs
- DataMember.cs
- TextShapeableCharacters.cs
- ColorTransformHelper.cs
- RuntimeEnvironment.cs
- TextEncodedRawTextWriter.cs
- MenuRendererStandards.cs
- _IPv6Address.cs
- RequestQueue.cs