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
- ProfileProvider.cs
- ObjectDataSourceDesigner.cs
- ScriptResourceAttribute.cs
- CmsUtils.cs
- TextSegment.cs
- StorageSetMapping.cs
- Constant.cs
- FlowNode.cs
- ExtendedPropertyDescriptor.cs
- WCFModelStrings.Designer.cs
- Command.cs
- HotSpot.cs
- RegexCapture.cs
- ButtonChrome.cs
- DesignerListAdapter.cs
- ResourceDictionary.cs
- SiteMembershipCondition.cs
- WebServiceMethodData.cs
- GroupPartitionExpr.cs
- PnrpPermission.cs
- GlyphRun.cs
- TableItemPattern.cs
- _ProxyChain.cs
- CharKeyFrameCollection.cs
- Content.cs
- ProfileSection.cs
- OutputBuffer.cs
- MouseActionConverter.cs
- WebResponse.cs
- RuleSetCollection.cs
- DeflateEmulationStream.cs
- WebPartTracker.cs
- BindingCollection.cs
- XmlQueryStaticData.cs
- CompilationSection.cs
- oledbconnectionstring.cs
- HtmlInputButton.cs
- GlyphRunDrawing.cs
- Focus.cs
- XmlAttributeOverrides.cs
- RepeaterDataBoundAdapter.cs
- ArrangedElement.cs
- COM2Enum.cs
- DateTimeParse.cs
- PrefixHandle.cs
- CacheAxisQuery.cs
- InvalidPipelineStoreException.cs
- Clause.cs
- BookmarkScope.cs
- DesigntimeLicenseContext.cs
- HtmlElementErrorEventArgs.cs
- BitmapFrameEncode.cs
- Brushes.cs
- AudioBase.cs
- XmlQueryContext.cs
- SqlDataSourceCommandEventArgs.cs
- WebPartVerbCollection.cs
- ByeMessageApril2005.cs
- ConfigXmlElement.cs
- AncillaryOps.cs
- Literal.cs
- WebDescriptionAttribute.cs
- UnsafeNativeMethods.cs
- TextElementEnumerator.cs
- MessageBox.cs
- IntegrationExceptionEventArgs.cs
- EditorPart.cs
- DesignerForm.cs
- BlurBitmapEffect.cs
- ConfigurationErrorsException.cs
- DataTableTypeConverter.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SapiRecognizer.cs
- ModelUIElement3D.cs
- ClientFormsAuthenticationCredentials.cs
- TemplateNameScope.cs
- PreservationFileReader.cs
- TcpClientCredentialType.cs
- Screen.cs
- GeneralTransform3DTo2DTo3D.cs
- FlowPosition.cs
- X509CertificateValidationMode.cs
- ReverseComparer.cs
- AttachedPropertyDescriptor.cs
- SchemaElementLookUpTable.cs
- XamlFigureLengthSerializer.cs
- Missing.cs
- SecureStringHasher.cs
- PathNode.cs
- StylusLogic.cs
- QueryAsyncResult.cs
- RuntimeWrappedException.cs
- Char.cs
- SpeechSynthesizer.cs
- CheckoutException.cs
- Pkcs7Recipient.cs
- DocumentGrid.cs
- RelationshipEnd.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- mediaeventargs.cs