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
- UshortList2.cs
- WebBrowser.cs
- Transform3DCollection.cs
- InheritanceAttribute.cs
- SqlParameter.cs
- OrderedHashRepartitionEnumerator.cs
- EventBookmark.cs
- IFlowDocumentViewer.cs
- SoundPlayer.cs
- Helper.cs
- AppDomainShutdownMonitor.cs
- PathData.cs
- TypeConverter.cs
- OLEDB_Util.cs
- DataDocumentXPathNavigator.cs
- LabelEditEvent.cs
- ChameleonKey.cs
- PrimaryKeyTypeConverter.cs
- ProfileInfo.cs
- ParseChildrenAsPropertiesAttribute.cs
- DbModificationClause.cs
- Region.cs
- Style.cs
- CatalogZoneAutoFormat.cs
- AnonymousIdentificationSection.cs
- CollectionContainer.cs
- SqlStream.cs
- VersionValidator.cs
- CreateRefExpr.cs
- DataGridViewCellEventArgs.cs
- LinkConverter.cs
- RequestContext.cs
- Thread.cs
- ValidationRule.cs
- Site.cs
- TreeBuilder.cs
- BindingSource.cs
- Icon.cs
- CryptoHandle.cs
- CompositeControl.cs
- DbConnectionPool.cs
- DataGridViewRowsRemovedEventArgs.cs
- RegexWorker.cs
- COM2PropertyDescriptor.cs
- CompositeCollection.cs
- ExceptionUtil.cs
- RegexCompiler.cs
- IPAddressCollection.cs
- TokenBasedSetEnumerator.cs
- FileDialogCustomPlacesCollection.cs
- LabelLiteral.cs
- CachedRequestParams.cs
- TagMapInfo.cs
- TimeSpanStorage.cs
- FlowDocumentPaginator.cs
- RSAProtectedConfigurationProvider.cs
- SizeAnimationUsingKeyFrames.cs
- ValueType.cs
- LowerCaseStringConverter.cs
- MultipleViewProviderWrapper.cs
- SqlDataSourceCache.cs
- WindowsRebar.cs
- InstanceStoreQueryResult.cs
- ConfigXmlText.cs
- RequiredFieldValidator.cs
- HighlightComponent.cs
- SetStoryboardSpeedRatio.cs
- ImageMapEventArgs.cs
- Region.cs
- EntityDesignerDataSourceView.cs
- WindowsSecurityToken.cs
- QuaternionRotation3D.cs
- DateTimeAutomationPeer.cs
- InputMethodStateTypeInfo.cs
- IsolatedStoragePermission.cs
- DomainConstraint.cs
- TableLayoutStyleCollection.cs
- SystemGatewayIPAddressInformation.cs
- PrimitiveList.cs
- GlyphInfoList.cs
- AspNetPartialTrustHelpers.cs
- CopyOnWriteList.cs
- DbProviderFactoriesConfigurationHandler.cs
- RecommendedAsConfigurableAttribute.cs
- SByte.cs
- ScrollViewer.cs
- CodeValidator.cs
- HttpRuntime.cs
- ElementsClipboardData.cs
- BaseResourcesBuildProvider.cs
- ServiceContractGenerator.cs
- XPathDocumentBuilder.cs
- XsdValidatingReader.cs
- ClientBuildManager.cs
- streamingZipPartStream.cs
- PackWebRequestFactory.cs
- odbcmetadatacolumnnames.cs
- HtmlInputReset.cs
- IOThreadScheduler.cs
- FileRegion.cs