Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / Versioning / ComponentGuaranteesAttribute.cs / 1305376 / ComponentGuaranteesAttribute.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: ComponentGuaranteesAttribute
**
**
** Purpose: Tracking whether a component signs up for a
** a strong contract spanning multiple versions.
**
===========================================================*/
using System;
namespace System.Runtime.Versioning {
[Flags]
[Serializable]
public enum ComponentGuaranteesOptions
{
None = 0,
Exchange = 0x1,
Stable = 0x2,
SideBySide = 0x4,
}
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class |
AttributeTargets.Struct | AttributeTargets.Interface | AttributeTargets.Delegate |
AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property |
AttributeTargets.Constructor | AttributeTargets.Event,
AllowMultiple = false, Inherited = false)]
public sealed class ComponentGuaranteesAttribute : Attribute {
private ComponentGuaranteesOptions _guarantees;
public ComponentGuaranteesAttribute(ComponentGuaranteesOptions guarantees)
{
_guarantees = guarantees;
}
public ComponentGuaranteesOptions Guarantees {
get { return _guarantees; }
}
}
}
// 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
- StylusPointPropertyInfo.cs
- GPPOINTF.cs
- GridViewColumnCollection.cs
- Setter.cs
- DynamicQueryStringParameter.cs
- Line.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- StateMachineSubscriptionManager.cs
- Single.cs
- ColorAnimation.cs
- BindingExpressionBase.cs
- EllipseGeometry.cs
- InputLangChangeRequestEvent.cs
- WCFModelStrings.Designer.cs
- ButtonBaseAutomationPeer.cs
- ApplicationFileParser.cs
- WebBrowserUriTypeConverter.cs
- StylusPointProperty.cs
- AnimationStorage.cs
- RectAnimationUsingKeyFrames.cs
- PrintPageEvent.cs
- ProjectionPlanCompiler.cs
- EventLog.cs
- TextServicesCompartmentEventSink.cs
- NumericUpDown.cs
- XmlSchemaAttributeGroupRef.cs
- RangeValueProviderWrapper.cs
- BoundConstants.cs
- UnaryNode.cs
- NumberFormatInfo.cs
- ZipIOFileItemStream.cs
- MatrixConverter.cs
- AuthorizationRuleCollection.cs
- _Events.cs
- BoolExpressionVisitors.cs
- FocusWithinProperty.cs
- EncoderExceptionFallback.cs
- GridViewRow.cs
- DockPattern.cs
- TaiwanLunisolarCalendar.cs
- IMembershipProvider.cs
- DecoderBestFitFallback.cs
- OAVariantLib.cs
- FramingChannels.cs
- AstNode.cs
- GenerateTemporaryTargetAssembly.cs
- GridViewSelectEventArgs.cs
- ItemsControlAutomationPeer.cs
- OuterGlowBitmapEffect.cs
- UnmanagedMemoryStream.cs
- AppSecurityManager.cs
- Invariant.cs
- Timer.cs
- _ScatterGatherBuffers.cs
- BorderGapMaskConverter.cs
- FixedLineResult.cs
- DoubleAnimation.cs
- ScriptControlManager.cs
- ListViewItem.cs
- AutomationPropertyInfo.cs
- VectorAnimationUsingKeyFrames.cs
- VideoDrawing.cs
- EntityContainerEntitySetDefiningQuery.cs
- TokenFactoryFactory.cs
- DynamicResourceExtension.cs
- WinFormsComponentEditor.cs
- WebPartsPersonalization.cs
- DataSourceView.cs
- ModelPerspective.cs
- DrawingGroup.cs
- ItemTypeToolStripMenuItem.cs
- RequestQueue.cs
- InternalsVisibleToAttribute.cs
- AuthorizationSection.cs
- BitmapEffectDrawing.cs
- ObjectView.cs
- DataGridViewHitTestInfo.cs
- StringUtil.cs
- FSWPathEditor.cs
- EditorBrowsableAttribute.cs
- activationcontext.cs
- SqlRewriteScalarSubqueries.cs
- SizeKeyFrameCollection.cs
- UserPersonalizationStateInfo.cs
- VariableValue.cs
- DesignSurfaceEvent.cs
- AQNBuilder.cs
- UdpTransportBindingElement.cs
- SmtpNetworkElement.cs
- XmlUtil.cs
- Int32CAMarshaler.cs
- RecordConverter.cs
- ServicePerformanceCounters.cs
- SelectionProviderWrapper.cs
- base64Transforms.cs
- ConversionContext.cs
- LinkedResource.cs
- FontSizeConverter.cs
- IndexedString.cs
- HtmlInputRadioButton.cs