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
- QilFactory.cs
- SyndicationDeserializer.cs
- IteratorDescriptor.cs
- UnSafeCharBuffer.cs
- ThemeInfoAttribute.cs
- GridViewColumnHeader.cs
- TextAdaptor.cs
- TextEffectResolver.cs
- JoinGraph.cs
- ListViewAutomationPeer.cs
- ImageButton.cs
- GACIdentityPermission.cs
- HtmlTableRowCollection.cs
- NavigatorOutput.cs
- NamedPipeAppDomainProtocolHandler.cs
- FocusTracker.cs
- WindowsIPAddress.cs
- TextDecorationLocationValidation.cs
- DrawingDrawingContext.cs
- SafeProcessHandle.cs
- HierarchicalDataSourceIDConverter.cs
- __Error.cs
- DataGridViewUtilities.cs
- FixedPageProcessor.cs
- XamlTypeMapperSchemaContext.cs
- Message.cs
- CheckBoxBaseAdapter.cs
- EventLogReader.cs
- ProvidersHelper.cs
- Vector3DCollection.cs
- ClickablePoint.cs
- login.cs
- DragDropManager.cs
- Margins.cs
- WebReference.cs
- XmlSchema.cs
- DispatcherEventArgs.cs
- SchemaTypeEmitter.cs
- FontStretch.cs
- AdRotator.cs
- AutoGeneratedField.cs
- XmlSerializationWriter.cs
- PointConverter.cs
- StyleSheetComponentEditor.cs
- WizardPanel.cs
- NamespaceMapping.cs
- Control.cs
- DataGridViewCellStyleConverter.cs
- XslTransform.cs
- XmlSerializerNamespaces.cs
- ThreadInterruptedException.cs
- WindowsBrush.cs
- SiteMembershipCondition.cs
- Freezable.cs
- WindowsSlider.cs
- RegexGroup.cs
- XmlSchemaSet.cs
- FlatButtonAppearance.cs
- XslAst.cs
- PropertyInformationCollection.cs
- SHA1.cs
- EventPrivateKey.cs
- OpCodes.cs
- KeyEvent.cs
- IssuanceTokenProviderState.cs
- DataGridViewSelectedRowCollection.cs
- ImageButton.cs
- SecurityRuntime.cs
- PersonalizablePropertyEntry.cs
- BindingsCollection.cs
- ElementAction.cs
- LabelLiteral.cs
- MultipartContentParser.cs
- ParameterDataSourceExpression.cs
- RuleSetReference.cs
- WorkflowPersistenceService.cs
- TemplateControl.cs
- ViewStateModeByIdAttribute.cs
- MergeLocalizationDirectives.cs
- InsufficientExecutionStackException.cs
- DispatcherEventArgs.cs
- IndexedString.cs
- HMACMD5.cs
- Viewport3DAutomationPeer.cs
- DictionaryBase.cs
- SynchronizingStream.cs
- ObsoleteAttribute.cs
- GridViewCancelEditEventArgs.cs
- _HelperAsyncResults.cs
- SmiEventStream.cs
- ContentPlaceHolder.cs
- Model3D.cs
- TextTreeTextElementNode.cs
- TextEndOfParagraph.cs
- CollectionTypeElement.cs
- Convert.cs
- ContractNamespaceAttribute.cs
- TextEditorSelection.cs
- IndexedWhereQueryOperator.cs
- StoreContentChangedEventArgs.cs