Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / CustomAttributeFormatException.cs / 1305376 / CustomAttributeFormatException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // CustomAttributeFormatException is thrown when the binary format of a // //[....] // custom attribute is invalid. // //Author: darylo // Date: [....] 98 // namespace System.Reflection { using System; using ApplicationException = System.ApplicationException; using System.Runtime.Serialization; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class CustomAttributeFormatException : FormatException { public CustomAttributeFormatException() : base(Environment.GetResourceString("Arg_CustomAttributeFormatException")) { SetErrorCode(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT); } public CustomAttributeFormatException(String message) : base(message) { SetErrorCode(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT); } public CustomAttributeFormatException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT); } [System.Security.SecuritySafeCritical] // auto-generated protected CustomAttributeFormatException(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. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // CustomAttributeFormatException is thrown when the binary format of a // //[....] // custom attribute is invalid. // //Author: darylo // Date: [....] 98 // namespace System.Reflection { using System; using ApplicationException = System.ApplicationException; using System.Runtime.Serialization; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class CustomAttributeFormatException : FormatException { public CustomAttributeFormatException() : base(Environment.GetResourceString("Arg_CustomAttributeFormatException")) { SetErrorCode(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT); } public CustomAttributeFormatException(String message) : base(message) { SetErrorCode(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT); } public CustomAttributeFormatException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT); } [System.Security.SecuritySafeCritical] // auto-generated protected CustomAttributeFormatException(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
- SuppressIldasmAttribute.cs
- LicenseException.cs
- SelectorItemAutomationPeer.cs
- ToolStripDesigner.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Attributes.cs
- TemplateControlParser.cs
- TextTreeFixupNode.cs
- XPathDocumentBuilder.cs
- OperationCanceledException.cs
- RealizationContext.cs
- GeometryGroup.cs
- oledbconnectionstring.cs
- ContextStack.cs
- Model3DGroup.cs
- RC2CryptoServiceProvider.cs
- WindowsListView.cs
- Axis.cs
- RuleSettings.cs
- IteratorFilter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- PointAnimation.cs
- PartitionResolver.cs
- PackageDigitalSignatureManager.cs
- NamedPermissionSet.cs
- CompilerScopeManager.cs
- SystemResourceKey.cs
- ServiceMetadataBehavior.cs
- DEREncoding.cs
- PointAnimation.cs
- XmlSerializerVersionAttribute.cs
- Debug.cs
- UniqueEventHelper.cs
- ModelChangedEventArgsImpl.cs
- ToolStripDesignerAvailabilityAttribute.cs
- Button.cs
- LabelDesigner.cs
- DesignTimeParseData.cs
- Adorner.cs
- KeyTimeConverter.cs
- PolicyException.cs
- ZipIOCentralDirectoryFileHeader.cs
- CheckBoxList.cs
- SafeReadContext.cs
- DependencyPropertyChangedEventArgs.cs
- XPathNodeIterator.cs
- DataRecordInternal.cs
- IpcChannel.cs
- Pts.cs
- DelegateHelpers.Generated.cs
- CompilerCollection.cs
- BidPrivateBase.cs
- HtmlInputControl.cs
- WebPartManager.cs
- OleDbReferenceCollection.cs
- EntityDataSourceReferenceGroup.cs
- CommandID.cs
- FlowStep.cs
- SspiWrapper.cs
- ThreadAbortException.cs
- LocalizationParserHooks.cs
- FileDialog_Vista_Interop.cs
- HttpCookieCollection.cs
- ProcessModuleDesigner.cs
- SimpleMailWebEventProvider.cs
- MemberRelationshipService.cs
- StickyNoteAnnotations.cs
- BindingBase.cs
- OleDbTransaction.cs
- SynchronizationLockException.cs
- WebColorConverter.cs
- ColorConvertedBitmapExtension.cs
- EncoderParameters.cs
- ImageMapEventArgs.cs
- ListDictionary.cs
- SyndicationContent.cs
- Literal.cs
- DesignerImageAdapter.cs
- ObjectSet.cs
- HScrollBar.cs
- BookmarkResumptionRecord.cs
- CommonDialog.cs
- NumberSubstitution.cs
- ProxyElement.cs
- SqlClientPermission.cs
- Win32NamedPipes.cs
- NativeBuffer.cs
- CopyOfAction.cs
- ContextStack.cs
- Version.cs
- WeakHashtable.cs
- InitializeCorrelation.cs
- BuildProviderCollection.cs
- CompiledRegexRunner.cs
- MappingMetadataHelper.cs
- Graph.cs
- FormsAuthentication.cs
- isolationinterop.cs
- SettingsBase.cs
- OperationCanceledException.cs