Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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: [....]
// Date: March 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InternalSafeNativeMethods.cs
- RayHitTestParameters.cs
- SelectionService.cs
- SafeEventHandle.cs
- UnmanagedMemoryStreamWrapper.cs
- RegistryKey.cs
- ConfigurationValue.cs
- DoubleMinMaxAggregationOperator.cs
- FilteredAttributeCollection.cs
- safelink.cs
- IndividualDeviceConfig.cs
- DesignerWithHeader.cs
- RowType.cs
- XmlChildEnumerator.cs
- FixedSOMPage.cs
- ComponentRenameEvent.cs
- EventTrigger.cs
- JsonWriter.cs
- _OverlappedAsyncResult.cs
- UpdateCommandGenerator.cs
- OdbcError.cs
- InvokeProviderWrapper.cs
- StringOutput.cs
- CompilerTypeWithParams.cs
- NonParentingControl.cs
- AstTree.cs
- CalendarModeChangedEventArgs.cs
- TargetInvocationException.cs
- AnimationException.cs
- HandlerWithFactory.cs
- WebBrowserNavigatedEventHandler.cs
- XsltArgumentList.cs
- RoleGroup.cs
- XmlSchemaValidator.cs
- HeaderedContentControl.cs
- DbParameterCollectionHelper.cs
- ParserHooks.cs
- UndoManager.cs
- SqlResolver.cs
- SqlHelper.cs
- CustomAssemblyResolver.cs
- StylusTouchDevice.cs
- KeyValueInternalCollection.cs
- Size3D.cs
- LinkedResourceCollection.cs
- StorageEntityContainerMapping.cs
- SqlUtil.cs
- ContainerTracking.cs
- RetrieveVirtualItemEventArgs.cs
- EnumBuilder.cs
- DatatypeImplementation.cs
- RichTextBox.cs
- GlobalDataBindingHandler.cs
- ImageCollectionCodeDomSerializer.cs
- MultiBindingExpression.cs
- BinaryReader.cs
- ScrollChrome.cs
- Process.cs
- Formatter.cs
- DetailsViewDeleteEventArgs.cs
- ILGenerator.cs
- Control.cs
- SkewTransform.cs
- DefaultAuthorizationContext.cs
- SystemFonts.cs
- Vector3DCollection.cs
- CharacterBuffer.cs
- XmlHelper.cs
- SerTrace.cs
- ChangeInterceptorAttribute.cs
- ReturnType.cs
- InterleavedZipPartStream.cs
- GroupItem.cs
- SqlGenericUtil.cs
- ChooseAction.cs
- AuthenticatedStream.cs
- DataServiceException.cs
- SqlUtils.cs
- Speller.cs
- FontSource.cs
- SupportsEventValidationAttribute.cs
- WebSysDescriptionAttribute.cs
- SocketElement.cs
- SubstitutionResponseElement.cs
- Size3D.cs
- UIElementIsland.cs
- SecurityTokenAttachmentMode.cs
- ContainerSelectorGlyph.cs
- WaitForChangedResult.cs
- HttpInputStream.cs
- ZipArchive.cs
- DBParameter.cs
- LifetimeServices.cs
- MaterialGroup.cs
- StringValidator.cs
- sqlmetadatafactory.cs
- CharacterMetricsDictionary.cs
- PointHitTestParameters.cs
- MaterializeFromAtom.cs
- HtmlTernaryTree.cs