Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AdCreatedEventArgs.cs
- ScriptResourceAttribute.cs
- FreezableOperations.cs
- ServerTooBusyException.cs
- OutputCacheSection.cs
- PersistenceTypeAttribute.cs
- DataSpaceManager.cs
- System.Data_BID.cs
- login.cs
- SqlMetaData.cs
- XamlVector3DCollectionSerializer.cs
- ToolboxComponentsCreatedEventArgs.cs
- CompilerCollection.cs
- FileReader.cs
- PersistenceTypeAttribute.cs
- AccessDataSourceView.cs
- SliderAutomationPeer.cs
- InputDevice.cs
- XmlSequenceWriter.cs
- XmlChildEnumerator.cs
- KeyEventArgs.cs
- SkipStoryboardToFill.cs
- EditBehavior.cs
- CryptoKeySecurity.cs
- XmlNodeChangedEventManager.cs
- HttpCookieCollection.cs
- ProtectedConfigurationProviderCollection.cs
- WebBrowserNavigatedEventHandler.cs
- CodeDirectoryCompiler.cs
- ExceptionUtil.cs
- HtmlInputControl.cs
- SystemException.cs
- MarginsConverter.cs
- ObjectStateEntryDbDataRecord.cs
- ContentPosition.cs
- CollectionEditVerbManager.cs
- CultureInfo.cs
- PeerNearMe.cs
- NativeMethodsCLR.cs
- Int32Converter.cs
- GridSplitter.cs
- RNGCryptoServiceProvider.cs
- ConditionalAttribute.cs
- RightsManagementEncryptionTransform.cs
- FormViewModeEventArgs.cs
- BookmarkEventArgs.cs
- DataGridComboBoxColumn.cs
- ComponentResourceKeyConverter.cs
- Subtree.cs
- SignatureResourcePool.cs
- XmlSchemaAll.cs
- MethodBuilder.cs
- QilDataSource.cs
- ConfigXmlCDataSection.cs
- Convert.cs
- PrintController.cs
- SimpleFieldTemplateFactory.cs
- DiscriminatorMap.cs
- panel.cs
- DescendantBaseQuery.cs
- WindowsClaimSet.cs
- _ListenerRequestStream.cs
- ValueHandle.cs
- ImageMap.cs
- HostingPreferredMapPath.cs
- RootAction.cs
- SimpleBitVector32.cs
- ControlPropertyNameConverter.cs
- UIHelper.cs
- ComAdminWrapper.cs
- XPathParser.cs
- Point3DAnimationBase.cs
- ToolStripEditorManager.cs
- URLMembershipCondition.cs
- ValueConversionAttribute.cs
- ValidateNames.cs
- SoapAttributeOverrides.cs
- DataGridViewImageCell.cs
- PrintEvent.cs
- ControlCommandSet.cs
- XNodeNavigator.cs
- ChangesetResponse.cs
- TemplateXamlParser.cs
- XsdDateTime.cs
- XmlNodeList.cs
- CodeIndexerExpression.cs
- CodeMemberProperty.cs
- TargetControlTypeAttribute.cs
- ErrorWebPart.cs
- PropertyChange.cs
- FileFormatException.cs
- CorrelationQuery.cs
- CodeParameterDeclarationExpressionCollection.cs
- ProfileGroupSettingsCollection.cs
- BindingEditor.xaml.cs
- SymmetricAlgorithm.cs
- Keyboard.cs
- SubpageParagraph.cs
- MonikerSyntaxException.cs
- SqlBuilder.cs