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
- ScrollBarAutomationPeer.cs
- ScrollViewer.cs
- TimelineClockCollection.cs
- GC.cs
- InternalCompensate.cs
- XmlDigitalSignatureProcessor.cs
- HttpCacheVary.cs
- EntityException.cs
- SerializableAttribute.cs
- PaintValueEventArgs.cs
- ImageSource.cs
- SafeProcessHandle.cs
- ClearCollection.cs
- DataGridViewColumnCollection.cs
- HtmlButton.cs
- MemoryPressure.cs
- WebResourceAttribute.cs
- DispatchWrapper.cs
- XmlCodeExporter.cs
- Int16Animation.cs
- BlurEffect.cs
- RuntimeIdentifierPropertyAttribute.cs
- SystemColorTracker.cs
- XmlSchemaInclude.cs
- CipherData.cs
- RC2.cs
- InternalPermissions.cs
- InterleavedZipPartStream.cs
- HtmlInputText.cs
- WebHostScriptMappingsInstallComponent.cs
- ToolBarButtonDesigner.cs
- RelatedPropertyManager.cs
- WMICapabilities.cs
- DtrList.cs
- CheckBoxDesigner.cs
- XmlNodeComparer.cs
- PropertyValueUIItem.cs
- TableCell.cs
- DataGridViewRowHeaderCell.cs
- IgnoreDeviceFilterElement.cs
- SQLByteStorage.cs
- Accessors.cs
- SoapParser.cs
- Crc32Helper.cs
- BufferModesCollection.cs
- FixedFindEngine.cs
- WmlValidatorAdapter.cs
- BlockingCollection.cs
- EndpointDiscoveryMetadata11.cs
- IISMapPath.cs
- Cursors.cs
- ContentAlignmentEditor.cs
- ProtocolsSection.cs
- InputLangChangeRequestEvent.cs
- ControlBuilder.cs
- PerformanceCounters.cs
- TreeViewCancelEvent.cs
- SeekStoryboard.cs
- SiteMapNodeCollection.cs
- AppDomainFactory.cs
- FileIOPermission.cs
- MouseActionValueSerializer.cs
- GetIndexBinder.cs
- RenderCapability.cs
- SqlVersion.cs
- StylusCollection.cs
- CodeValidator.cs
- QuerySetOp.cs
- SQLMoneyStorage.cs
- SequentialOutput.cs
- InternalConfigConfigurationFactory.cs
- BoundPropertyEntry.cs
- ButtonRenderer.cs
- QueryCursorEventArgs.cs
- PeerApplicationLaunchInfo.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ConfigurationElementCollection.cs
- SecurityTokenProvider.cs
- RequestResponse.cs
- DataSourceExpression.cs
- ClockGroup.cs
- ShapingEngine.cs
- codemethodreferenceexpression.cs
- ClockController.cs
- shaperfactoryquerycachekey.cs
- XamlGridLengthSerializer.cs
- Transform3D.cs
- WebPartsPersonalizationAuthorization.cs
- TextFindEngine.cs
- BinaryObjectInfo.cs
- ObjectIDGenerator.cs
- ViewStateModeByIdAttribute.cs
- List.cs
- MetadataArtifactLoaderCompositeFile.cs
- FacetValueContainer.cs
- DesignerActionGlyph.cs
- WinEventQueueItem.cs
- odbcmetadatacolumnnames.cs
- CodeGeneratorOptions.cs
- MetadataArtifactLoader.cs