Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Misc.cs
- TypeConverterHelper.cs
- SrgsGrammarCompiler.cs
- mansign.cs
- FrameworkElement.cs
- ClientBuildManagerCallback.cs
- ResourceManager.cs
- SiteMapDataSource.cs
- SecureStringHasher.cs
- DoWorkEventArgs.cs
- _ProxyRegBlob.cs
- DependencyProperty.cs
- LocalizableResourceBuilder.cs
- TaiwanLunisolarCalendar.cs
- TextBoxAutoCompleteSourceConverter.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- InputDevice.cs
- MsmqMessageProperty.cs
- DocumentXPathNavigator.cs
- TextServicesCompartment.cs
- SchemaImporter.cs
- MaxValueConverter.cs
- DesignBindingValueUIHandler.cs
- GroupBox.cs
- DataShape.cs
- Crc32Helper.cs
- SimpleRecyclingCache.cs
- VolatileEnlistmentState.cs
- UpdateEventArgs.cs
- RowBinding.cs
- JsonReaderDelegator.cs
- Dump.cs
- InlineCollection.cs
- SessionEndingCancelEventArgs.cs
- CompensateDesigner.cs
- Permission.cs
- ExceptionHandlerDesigner.cs
- DataGridViewImageColumn.cs
- StateMachineHelpers.cs
- DefaultBinder.cs
- SyntaxCheck.cs
- Light.cs
- EncoderExceptionFallback.cs
- VariableValue.cs
- BitmapEffectInputData.cs
- AutomationElementIdentifiers.cs
- ExpressionParser.cs
- SchemaContext.cs
- AuthenticationModuleElement.cs
- GrabHandleGlyph.cs
- log.cs
- SoapMessage.cs
- SmiRecordBuffer.cs
- SessionState.cs
- nulltextcontainer.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- StyleXamlParser.cs
- PassportAuthentication.cs
- Control.cs
- SafeRightsManagementPubHandle.cs
- InteropExecutor.cs
- ResourceManager.cs
- DefaultPropertyAttribute.cs
- BezierSegment.cs
- DesignerSerializerAttribute.cs
- TreeBuilderXamlTranslator.cs
- xmlglyphRunInfo.cs
- PathTooLongException.cs
- DeferredTextReference.cs
- ColumnReorderedEventArgs.cs
- UInt32Converter.cs
- ServiceRoute.cs
- Oid.cs
- WebPartTransformerCollection.cs
- ConfigurationManager.cs
- DbCommandDefinition.cs
- AvTrace.cs
- ByteStreamMessageEncodingElement.cs
- FreezableOperations.cs
- SerialPort.cs
- DesigntimeLicenseContext.cs
- CompositeControl.cs
- Evaluator.cs
- DetailsViewUpdateEventArgs.cs
- LocalizabilityAttribute.cs
- OverflowException.cs
- ModuleBuilder.cs
- Compress.cs
- StringFormat.cs
- InternalConfigSettingsFactory.cs
- WorkflowQueueInfo.cs
- InstancePersistenceException.cs
- CallSiteBinder.cs
- DetailsView.cs
- GridViewCancelEditEventArgs.cs
- GPRECT.cs
- DbMetaDataCollectionNames.cs
- SizeValueSerializer.cs
- TrackBarRenderer.cs
- XmlCharType.cs