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
- CachedResourceDictionaryExtension.cs
- IUnknownConstantAttribute.cs
- Mutex.cs
- IdentityVerifier.cs
- TrimSurroundingWhitespaceAttribute.cs
- ResolveNameEventArgs.cs
- WpfPayload.cs
- SecurityKeyType.cs
- ObjectListDataBindEventArgs.cs
- SemanticTag.cs
- LeftCellWrapper.cs
- XPathAncestorQuery.cs
- ZoomPercentageConverter.cs
- SBCSCodePageEncoding.cs
- ScrollPatternIdentifiers.cs
- ProfileManager.cs
- QilGenerator.cs
- DecimalFormatter.cs
- DataColumnChangeEvent.cs
- SoundPlayerAction.cs
- EntityTypeEmitter.cs
- safelink.cs
- Stack.cs
- QuadraticBezierSegment.cs
- AnimationStorage.cs
- securitymgrsite.cs
- CollectionChangedEventManager.cs
- TransformDescriptor.cs
- AmbientLight.cs
- Transform3DCollection.cs
- LicFileLicenseProvider.cs
- DataObjectFieldAttribute.cs
- SchemaAttDef.cs
- ObjectFullSpanRewriter.cs
- RtfNavigator.cs
- ConfigurationStrings.cs
- ThreadPool.cs
- Literal.cs
- FormParameter.cs
- COM2ExtendedUITypeEditor.cs
- TextSelection.cs
- FlowLayoutSettings.cs
- PathGeometry.cs
- TimeSpanOrInfiniteConverter.cs
- TimeSpanSecondsConverter.cs
- DataGridHeaderBorder.cs
- SoapExtensionTypeElement.cs
- HttpConfigurationContext.cs
- TraceUtils.cs
- ContractListAdapter.cs
- StringValueSerializer.cs
- PipelineComponent.cs
- NotFiniteNumberException.cs
- TPLETWProvider.cs
- DataGridViewColumnDesigner.cs
- CodeParameterDeclarationExpression.cs
- RoleBoolean.cs
- PrintDocument.cs
- MatrixUtil.cs
- Section.cs
- DiffuseMaterial.cs
- DurableInstancingOptions.cs
- ProcessHostConfigUtils.cs
- GrammarBuilderDictation.cs
- LogReserveAndAppendState.cs
- SelectionPattern.cs
- C14NUtil.cs
- XslException.cs
- RTLAwareMessageBox.cs
- PageCatalogPart.cs
- DATA_BLOB.cs
- StoragePropertyMapping.cs
- QilInvokeLateBound.cs
- WindowsSlider.cs
- RoleGroupCollection.cs
- DataSysAttribute.cs
- ToolStripItemImageRenderEventArgs.cs
- Renderer.cs
- DefaultTextStore.cs
- CqlParserHelpers.cs
- AccessibleObject.cs
- SimplePropertyEntry.cs
- ICspAsymmetricAlgorithm.cs
- EncodedStreamFactory.cs
- WebScriptClientGenerator.cs
- DetailsViewInsertEventArgs.cs
- VirtualizingStackPanel.cs
- FixedDSBuilder.cs
- Sentence.cs
- InvalidWorkflowException.cs
- Schema.cs
- ScrollBarRenderer.cs
- BindableAttribute.cs
- CatalogZoneAutoFormat.cs
- ReceiveMessageContent.cs
- PhysicalFontFamily.cs
- RemotingAttributes.cs
- ProjectionAnalyzer.cs
- TreeNodeCollection.cs
- ImmutableDispatchRuntime.cs