Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / CustomAttributeFormatException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- Rotation3D.cs
- WindowsSlider.cs
- LassoSelectionBehavior.cs
- SharedUtils.cs
- ReadOnlyCollectionBase.cs
- HtmlHistory.cs
- GZipUtils.cs
- TimeSpanValidator.cs
- SqlDataSourceCache.cs
- WebPartMenuStyle.cs
- ListDataBindEventArgs.cs
- DirectoryInfo.cs
- InitializerFacet.cs
- HeaderUtility.cs
- PropertyKey.cs
- TextRunProperties.cs
- SqlDataSourceFilteringEventArgs.cs
- TextRangeEditLists.cs
- CurrentChangedEventManager.cs
- SafeFindHandle.cs
- ColorConverter.cs
- CallSiteHelpers.cs
- Win32SafeHandles.cs
- ConcatQueryOperator.cs
- AVElementHelper.cs
- DefaultAssemblyResolver.cs
- UserControlFileEditor.cs
- XmlSchemaComplexContentExtension.cs
- MobileResource.cs
- PageWrapper.cs
- ParseNumbers.cs
- SystemIPInterfaceProperties.cs
- XmlSchemaNotation.cs
- exports.cs
- HttpRequestCacheValidator.cs
- ObjectItemCachedAssemblyLoader.cs
- DeobfuscatingStream.cs
- AnnotationHelper.cs
- InvokeWebServiceDesigner.cs
- ToolstripProfessionalRenderer.cs
- Help.cs
- XmlCountingReader.cs
- HealthMonitoringSection.cs
- FilterQuery.cs
- RemotingSurrogateSelector.cs
- HtmlGenericControl.cs
- Vector.cs
- SqlBuilder.cs
- GridViewRowEventArgs.cs
- AccessViolationException.cs
- FormattedText.cs
- DataGridLinkButton.cs
- LifetimeManager.cs
- PointAnimation.cs
- BinaryFormatter.cs
- OrderedDictionaryStateHelper.cs
- BindingExpression.cs
- ComponentCollection.cs
- BezierSegment.cs
- CatalogPartChrome.cs
- CompoundFileDeflateTransform.cs
- ExtenderControl.cs
- PointLightBase.cs
- XmlWhitespace.cs
- CodeParameterDeclarationExpression.cs
- CustomError.cs
- GridToolTip.cs
- SyntaxCheck.cs
- CommandPlan.cs
- ImmComposition.cs
- ParsedAttributeCollection.cs
- PropertyChangedEventArgs.cs
- TransformerInfoCollection.cs
- QEncodedStream.cs
- RepeaterItem.cs
- SqlConnectionFactory.cs
- EntityProviderFactory.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CustomExpressionEventArgs.cs
- RoutedPropertyChangedEventArgs.cs
- Encoder.cs
- GlobalEventManager.cs
- XslVisitor.cs
- DebuggerAttributes.cs
- BuildDependencySet.cs
- StringBuilder.cs
- LicenseManager.cs
- ImageMetadata.cs
- XslVisitor.cs
- AuthenticationModuleElement.cs
- FileDialog_Vista.cs
- DataGridViewCheckBoxCell.cs
- TextEffectResolver.cs
- BookmarkScopeInfo.cs
- ConvertBinder.cs
- WebConfigurationFileMap.cs
- BuildResultCache.cs
- Geometry3D.cs
- LayoutInformation.cs
- CompilerCollection.cs