Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SqlRemoveConstantOrderBy.cs
- WindowsTab.cs
- GlyphShapingProperties.cs
- ReadOnlyDictionary.cs
- TransformDescriptor.cs
- StateItem.cs
- ItemsChangedEventArgs.cs
- ReflectionUtil.cs
- ToolCreatedEventArgs.cs
- MediaPlayerState.cs
- DebugView.cs
- HMACSHA512.cs
- ResXResourceSet.cs
- Normalization.cs
- BookmarkEventArgs.cs
- ElapsedEventArgs.cs
- BamlRecordWriter.cs
- AlignmentXValidation.cs
- XmlDesigner.cs
- ImageListImageEditor.cs
- CompilerError.cs
- TableRow.cs
- tooltip.cs
- HtmlTable.cs
- XmlRawWriter.cs
- RequestQueryProcessor.cs
- FrameSecurityDescriptor.cs
- ButtonBase.cs
- Brush.cs
- RegexGroupCollection.cs
- XmlValidatingReaderImpl.cs
- XamlPoint3DCollectionSerializer.cs
- HtmlFormParameterReader.cs
- ListSortDescription.cs
- Pkcs7Signer.cs
- InsufficientMemoryException.cs
- HttpContext.cs
- WindowsSysHeader.cs
- DesignerDataSourceView.cs
- ValidationManager.cs
- DataSourceCacheDurationConverter.cs
- MobileControlsSectionHandler.cs
- StylusTip.cs
- MouseActionConverter.cs
- Exceptions.cs
- MemberDomainMap.cs
- TypeReference.cs
- GPRECT.cs
- PublisherMembershipCondition.cs
- PathSegment.cs
- ProtocolsConfiguration.cs
- EntityDataSource.cs
- ErrorItem.cs
- MouseGestureValueSerializer.cs
- PingOptions.cs
- DefaultAsyncDataDispatcher.cs
- TableCellAutomationPeer.cs
- ToolStripItemEventArgs.cs
- ToolStripManager.cs
- ServerIdentity.cs
- SvcMapFileLoader.cs
- JsonDataContract.cs
- SyndicationSerializer.cs
- CodePrimitiveExpression.cs
- SamlSecurityTokenAuthenticator.cs
- RelatedEnd.cs
- SoapIgnoreAttribute.cs
- AsyncOperationManager.cs
- HttpRequest.cs
- SudsCommon.cs
- IISMapPath.cs
- ExpressionBuilder.cs
- NetworkInformationPermission.cs
- RootBrowserWindowAutomationPeer.cs
- PersonalizableAttribute.cs
- XmlKeywords.cs
- EntitySet.cs
- PolyBezierSegment.cs
- ViewStateChangedEventArgs.cs
- X509Certificate.cs
- CodeAttributeDeclaration.cs
- SmtpMail.cs
- XmlArrayItemAttribute.cs
- WizardPanel.cs
- HtmlSelect.cs
- RangeContentEnumerator.cs
- CompositeScriptReference.cs
- DocumentEventArgs.cs
- TextTrailingCharacterEllipsis.cs
- TypeInitializationException.cs
- NamespaceDecl.cs
- FindCriteriaApril2005.cs
- DesignerAttribute.cs
- RootBrowserWindowProxy.cs
- TransformedBitmap.cs
- CssClassPropertyAttribute.cs
- AdornedElementPlaceholder.cs
- ComplexType.cs
- IPipelineRuntime.cs
- LinearGradientBrush.cs