Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / Reflection / CustomAttributeFormatException.cs / 1 / 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); } 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); } 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
- CredentialManagerDialog.cs
- Receive.cs
- InstancePersistenceException.cs
- DbProviderConfigurationHandler.cs
- OdbcDataReader.cs
- RowToParametersTransformer.cs
- VideoDrawing.cs
- CallInfo.cs
- XmlILModule.cs
- SmtpFailedRecipientException.cs
- SqlConnectionStringBuilder.cs
- EditorZone.cs
- DefaultExpression.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- uribuilder.cs
- EventPrivateKey.cs
- CompressedStack.cs
- Frame.cs
- EmptyQuery.cs
- TextOutput.cs
- ReaderWriterLockSlim.cs
- XhtmlBasicTextBoxAdapter.cs
- HwndTarget.cs
- BitmapSizeOptions.cs
- CaseInsensitiveOrdinalStringComparer.cs
- XmlExtensionFunction.cs
- SettingsAttributeDictionary.cs
- RegularExpressionValidator.cs
- DesignTimeTemplateParser.cs
- LazyTextWriterCreator.cs
- AsyncOperation.cs
- EventBuilder.cs
- RawKeyboardInputReport.cs
- XPathMessageFilter.cs
- UnauthorizedWebPart.cs
- Image.cs
- AnnotationStore.cs
- SafeViewOfFileHandle.cs
- XmlTextAttribute.cs
- ArglessEventHandlerProxy.cs
- BidPrivateBase.cs
- formatstringdialog.cs
- Dump.cs
- SiteMapDataSource.cs
- IteratorFilter.cs
- PassportAuthentication.cs
- ZoomPercentageConverter.cs
- ServiceManager.cs
- RuntimeIdentifierPropertyAttribute.cs
- Process.cs
- WebDisplayNameAttribute.cs
- MetaChildrenColumn.cs
- ClientData.cs
- NominalTypeEliminator.cs
- HttpHeaderCollection.cs
- ApplicationTrust.cs
- SymmetricKey.cs
- XNodeValidator.cs
- HttpModulesSection.cs
- ManagementEventArgs.cs
- Activity.cs
- BufferModesCollection.cs
- RootBuilder.cs
- MemberHolder.cs
- KnowledgeBase.cs
- TransactionWaitAsyncResult.cs
- Validator.cs
- Boolean.cs
- DataTemplate.cs
- BamlRecordWriter.cs
- StaticExtension.cs
- AuthenticatingEventArgs.cs
- ApplicationId.cs
- TreeViewCancelEvent.cs
- ListItemParagraph.cs
- _ConnectStream.cs
- PrimitiveDataContract.cs
- UrlParameterReader.cs
- SequenceDesignerAccessibleObject.cs
- MouseWheelEventArgs.cs
- SynchronizedRandom.cs
- CqlErrorHelper.cs
- EntityDataSourceWrapperCollection.cs
- SectionVisual.cs
- RootBrowserWindowAutomationPeer.cs
- Directory.cs
- IconHelper.cs
- MenuTracker.cs
- SyntaxCheck.cs
- GeometryValueSerializer.cs
- SmiTypedGetterSetter.cs
- Parsers.cs
- CodeConditionStatement.cs
- TextUtf8RawTextWriter.cs
- ToolStripSeparator.cs
- WebPartDisplayMode.cs
- XmlJsonReader.cs
- Serialization.cs
- DesignSurfaceCollection.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs