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
- EndCreateSecurityTokenRequest.cs
- ObjectDataSource.cs
- basemetadatamappingvisitor.cs
- WeakEventManager.cs
- UITypeEditors.cs
- _OverlappedAsyncResult.cs
- NativeCppClassAttribute.cs
- ResizeGrip.cs
- ObfuscateAssemblyAttribute.cs
- DashStyle.cs
- RepeaterItemCollection.cs
- RSAOAEPKeyExchangeFormatter.cs
- DesignerHelpers.cs
- TextRenderer.cs
- PromptStyle.cs
- IPEndPoint.cs
- TextBoxBaseDesigner.cs
- MarkupProperty.cs
- XmlElementList.cs
- CallSite.cs
- FormsAuthenticationUser.cs
- UpdateInfo.cs
- ResourceDescriptionAttribute.cs
- JapaneseCalendar.cs
- NavigatorInput.cs
- BaseCollection.cs
- QuotedPrintableStream.cs
- XmlSchemaException.cs
- DataSourceHelper.cs
- TypedAsyncResult.cs
- SecurityContextTokenCache.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- InvalidCastException.cs
- EntityDataSourceChangedEventArgs.cs
- RsaKeyIdentifierClause.cs
- WebPartExportVerb.cs
- DataGridViewCellParsingEventArgs.cs
- SendingRequestEventArgs.cs
- SqlMethodAttribute.cs
- VectorConverter.cs
- CursorConverter.cs
- ThreadStaticAttribute.cs
- StartUpEventArgs.cs
- GeometryDrawing.cs
- TypeBuilder.cs
- DropDownButton.cs
- ItemCollection.cs
- XmlSchemaAttribute.cs
- NetSectionGroup.cs
- BufferedGraphics.cs
- AppDomainFactory.cs
- FillErrorEventArgs.cs
- Speller.cs
- ClientConfigPaths.cs
- BamlResourceSerializer.cs
- SoapTypeAttribute.cs
- embossbitmapeffect.cs
- ListSortDescription.cs
- ReadWriteObjectLock.cs
- SplitterEvent.cs
- SignedXmlDebugLog.cs
- Baml6ConstructorInfo.cs
- XmlAnyElementAttribute.cs
- ResXDataNode.cs
- WebEvents.cs
- ConversionValidationRule.cs
- PlatformCulture.cs
- VersionedStream.cs
- CatalogZone.cs
- DesignTimeData.cs
- SQLInt32.cs
- XsltOutput.cs
- MarkupObject.cs
- UndoManager.cs
- DBParameter.cs
- Rectangle.cs
- GenerateTemporaryTargetAssembly.cs
- PersonalizationProvider.cs
- FlowDocumentPage.cs
- SHA256Managed.cs
- Propagator.ExtentPlaceholderCreator.cs
- FixedStringLookup.cs
- MergePropertyDescriptor.cs
- Range.cs
- OdbcRowUpdatingEvent.cs
- RedirectionProxy.cs
- FilterQuery.cs
- CopyAction.cs
- VBIdentifierDesigner.xaml.cs
- ComponentGuaranteesAttribute.cs
- ConnectionStringsExpressionBuilder.cs
- ToolStripSettings.cs
- Command.cs
- HTMLTextWriter.cs
- DesignerGeometryHelper.cs
- DataControlLinkButton.cs
- FileUtil.cs
- OracleCommandBuilder.cs
- VScrollProperties.cs
- commandenforcer.cs