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
- ImageList.cs
- IndexedGlyphRun.cs
- DrawListViewColumnHeaderEventArgs.cs
- DBSchemaTable.cs
- HighContrastHelper.cs
- BitmapSourceSafeMILHandle.cs
- Stacktrace.cs
- TextDecoration.cs
- WSUtilitySpecificationVersion.cs
- FormViewInsertedEventArgs.cs
- OneOfElement.cs
- WebScriptMetadataFormatter.cs
- XmlTextReaderImpl.cs
- _ChunkParse.cs
- Constants.cs
- ColorContext.cs
- PrinterResolution.cs
- CardSpaceSelector.cs
- InvalidPrinterException.cs
- ColorTranslator.cs
- XmlStringTable.cs
- HwndSubclass.cs
- SqlConnectionPoolProviderInfo.cs
- TreeViewImageKeyConverter.cs
- InvokeCompletedEventArgs.cs
- QueryGenerator.cs
- TimeSpanStorage.cs
- SelectorAutomationPeer.cs
- FtpRequestCacheValidator.cs
- TransformerConfigurationWizardBase.cs
- CancelAsyncOperationRequest.cs
- TerminatorSinks.cs
- TextBox.cs
- MsmqIntegrationBindingElement.cs
- OpenFileDialog.cs
- TextRangeAdaptor.cs
- ProfilePropertySettingsCollection.cs
- ContentPosition.cs
- MetafileHeaderWmf.cs
- FeatureAttribute.cs
- OciHandle.cs
- ReachFixedPageSerializer.cs
- SessionSwitchEventArgs.cs
- AnchorEditor.cs
- Transform3D.cs
- LineBreakRecord.cs
- CodeObject.cs
- TextElementCollectionHelper.cs
- LexicalChunk.cs
- XmlIncludeAttribute.cs
- StickyNoteAnnotations.cs
- Component.cs
- CustomErrorCollection.cs
- SettingsPropertyNotFoundException.cs
- QueryReaderSettings.cs
- WorkflowRuntimeSection.cs
- ScrollBarRenderer.cs
- BindingValueChangedEventArgs.cs
- graph.cs
- DecimalConverter.cs
- Merger.cs
- PathFigureCollectionConverter.cs
- AsymmetricSignatureFormatter.cs
- PowerModeChangedEventArgs.cs
- CookielessHelper.cs
- NameValueConfigurationElement.cs
- RemotingException.cs
- ChtmlLinkAdapter.cs
- SqlInternalConnection.cs
- DataGridViewSelectedRowCollection.cs
- IsolatedStorageFileStream.cs
- TreeViewImageKeyConverter.cs
- SrgsSemanticInterpretationTag.cs
- UnsafeNativeMethodsMilCoreApi.cs
- XmlNotation.cs
- _TransmitFileOverlappedAsyncResult.cs
- DataGridViewSortCompareEventArgs.cs
- HtmlInputFile.cs
- ElementFactory.cs
- _SingleItemRequestCache.cs
- PageAsyncTask.cs
- SafeFileMappingHandle.cs
- DeadCharTextComposition.cs
- TreeIterators.cs
- TableChangeProcessor.cs
- WebPartTransformer.cs
- DbCommandDefinition.cs
- IPGlobalProperties.cs
- JsonCollectionDataContract.cs
- Stack.cs
- TranslateTransform3D.cs
- HtmlTable.cs
- ButtonBaseAdapter.cs
- EventProviderWriter.cs
- DetailsViewRow.cs
- TableParaClient.cs
- AutomationIdentifierGuids.cs
- BuildResult.cs
- BaseTreeIterator.cs
- DrawingAttributes.cs