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
- UnknownBitmapDecoder.cs
- XmlSchemaParticle.cs
- CredentialCache.cs
- NamedObject.cs
- HandleCollector.cs
- ShellProvider.cs
- DataIdProcessor.cs
- DesignerActionService.cs
- TreeNodeBinding.cs
- CatalogZone.cs
- TargetParameterCountException.cs
- RelatedPropertyManager.cs
- WebHttpBehavior.cs
- InfiniteIntConverter.cs
- RNGCryptoServiceProvider.cs
- ConstructorArgumentAttribute.cs
- Form.cs
- SoapCommonClasses.cs
- HwndPanningFeedback.cs
- ViewManagerAttribute.cs
- DateTimePickerDesigner.cs
- LockCookie.cs
- EntityDataSourceStatementEditorForm.cs
- MiniModule.cs
- WSHttpSecurityElement.cs
- DocobjHost.cs
- TransactionsSectionGroup.cs
- RTTrackingProfile.cs
- XmlAttributeHolder.cs
- WindowsStartMenu.cs
- Visual3D.cs
- TextRangeEdit.cs
- ExpressionVisitor.cs
- StructuredType.cs
- ScriptRegistrationManager.cs
- ResourceWriter.cs
- PenThreadPool.cs
- Size3D.cs
- LayoutTable.cs
- SecureStringHasher.cs
- UnsafeMethods.cs
- SvcMapFileSerializer.cs
- PrintController.cs
- StatusBarItem.cs
- OLEDB_Enum.cs
- AssemblyAssociatedContentFileAttribute.cs
- NestPullup.cs
- DbParameterHelper.cs
- OnOperation.cs
- XmlCharType.cs
- DataGridViewCellEventArgs.cs
- BaseTemplateParser.cs
- BitStream.cs
- MulticastIPAddressInformationCollection.cs
- DocumentPageHost.cs
- OrderedDictionary.cs
- PointConverter.cs
- Globals.cs
- WebPartEventArgs.cs
- COM2IProvidePropertyBuilderHandler.cs
- AsymmetricKeyExchangeFormatter.cs
- EventMappingSettings.cs
- InitializingNewItemEventArgs.cs
- SqlVersion.cs
- Currency.cs
- RemoteWebConfigurationHost.cs
- FixedPosition.cs
- FontCollection.cs
- TextServicesPropertyRanges.cs
- TreeNodeConverter.cs
- WorkflowRuntime.cs
- DiscoveryDocumentSerializer.cs
- DelegatingTypeDescriptionProvider.cs
- XPathNavigatorKeyComparer.cs
- FolderLevelBuildProvider.cs
- SafeRightsManagementHandle.cs
- URLEditor.cs
- SerialPinChanges.cs
- Model3DGroup.cs
- RoutedEventArgs.cs
- PublisherIdentityPermission.cs
- _NegotiateClient.cs
- DeviceContext2.cs
- SynchronizationFilter.cs
- SimpleTypesSurrogate.cs
- BaseDataBoundControl.cs
- MethodRental.cs
- documentsequencetextcontainer.cs
- SystemUnicastIPAddressInformation.cs
- SerializationInfoEnumerator.cs
- AppendHelper.cs
- InstanceDataCollectionCollection.cs
- Group.cs
- ObjectHandle.cs
- WpfPayload.cs
- BinarySecretSecurityToken.cs
- ComplexBindingPropertiesAttribute.cs
- KeysConverter.cs
- MimeTypePropertyAttribute.cs
- DynamicHyperLink.cs