Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StorageSetMapping.cs
- TdsParameterSetter.cs
- DecoratedNameAttribute.cs
- WinFormsSecurity.cs
- GeometryHitTestResult.cs
- HtmlElementErrorEventArgs.cs
- Avt.cs
- Point3DAnimation.cs
- FileIOPermission.cs
- WebSysDescriptionAttribute.cs
- CallTemplateAction.cs
- AuthenticateEventArgs.cs
- DataGridViewHitTestInfo.cs
- ClientFormsIdentity.cs
- ThousandthOfEmRealDoubles.cs
- IsolatedStorageException.cs
- XmlProcessingInstruction.cs
- ExtensionQuery.cs
- KeyInterop.cs
- ReflectionUtil.cs
- ButtonRenderer.cs
- VarInfo.cs
- DataGridBeginningEditEventArgs.cs
- ExtenderControl.cs
- SqlTrackingWorkflowInstance.cs
- _StreamFramer.cs
- StringUtil.cs
- StringValueSerializer.cs
- TypeSource.cs
- SafeCryptHandles.cs
- AppliedDeviceFiltersEditor.cs
- GeometryGroup.cs
- UIElement.cs
- ToolStripButton.cs
- SettingsSection.cs
- SqlCommandSet.cs
- TaskFileService.cs
- WindowsSysHeader.cs
- TrustManagerPromptUI.cs
- AssemblyUtil.cs
- GrammarBuilderBase.cs
- RayHitTestParameters.cs
- TraceData.cs
- Matrix3D.cs
- SerialReceived.cs
- Psha1DerivedKeyGeneratorHelper.cs
- ServiceManagerHandle.cs
- PreviewPageInfo.cs
- WebServiceHandlerFactory.cs
- BitmapEffectGeneralTransform.cs
- VScrollBar.cs
- PropertyStore.cs
- ToolboxDataAttribute.cs
- DateTimeOffset.cs
- ThrowHelper.cs
- TemplateColumn.cs
- FontStyle.cs
- HttpListener.cs
- Update.cs
- DbMetaDataCollectionNames.cs
- MetadataStore.cs
- RoutingConfiguration.cs
- RegexCompilationInfo.cs
- CursorConverter.cs
- InputMethod.cs
- ThicknessConverter.cs
- InProcStateClientManager.cs
- GradientSpreadMethodValidation.cs
- FontWeights.cs
- BlockCollection.cs
- ListViewTableRow.cs
- FlowPosition.cs
- StylusPlugInCollection.cs
- SspiSafeHandles.cs
- Tablet.cs
- WorkflowApplicationCompletedException.cs
- SQLSingle.cs
- CompilerLocalReference.cs
- WebBrowserDesigner.cs
- MsmqMessageSerializationFormat.cs
- WindowsSysHeader.cs
- GcHandle.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- ProcessProtocolHandler.cs
- QualifierSet.cs
- NotSupportedException.cs
- TransformGroup.cs
- XmlDataImplementation.cs
- Timeline.cs
- _StreamFramer.cs
- ELinqQueryState.cs
- RangeContentEnumerator.cs
- LineInfo.cs
- SerializableAttribute.cs
- AbsoluteQuery.cs
- ObjectSelectorEditor.cs
- GridViewColumnHeaderAutomationPeer.cs
- SqlDataSourceSelectingEventArgs.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- counter.cs