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
- ChineseLunisolarCalendar.cs
- WebPartConnectionCollection.cs
- MarkupCompilePass2.cs
- RoleManagerSection.cs
- DataObjectPastingEventArgs.cs
- MemoryRecordBuffer.cs
- LayoutUtils.cs
- DataTableExtensions.cs
- CellCreator.cs
- WizardStepBase.cs
- NestedContainer.cs
- FrameworkRichTextComposition.cs
- DbExpressionRules.cs
- ScrollBar.cs
- PtsHelper.cs
- PrincipalPermission.cs
- EdmSchemaError.cs
- HttpRuntime.cs
- TryExpression.cs
- BinaryObjectWriter.cs
- PropertyGridEditorPart.cs
- ListViewCancelEventArgs.cs
- ButtonChrome.cs
- ProxyAttribute.cs
- BlurEffect.cs
- ViewBox.cs
- AuthenticationConfig.cs
- IsolatedStorageFilePermission.cs
- TreeSet.cs
- SqlResolver.cs
- PreparingEnlistment.cs
- Code.cs
- RemoteWebConfigurationHostStream.cs
- SocketElement.cs
- File.cs
- NamespaceQuery.cs
- WebResponse.cs
- DataGridViewCellLinkedList.cs
- TypeInformation.cs
- AuthorizationContext.cs
- RowToParametersTransformer.cs
- SignatureResourcePool.cs
- Avt.cs
- SpotLight.cs
- StylusOverProperty.cs
- HtmlTableRow.cs
- PreloadHost.cs
- CompareInfo.cs
- ListCardsInFileRequest.cs
- ContentValidator.cs
- ADRoleFactoryConfiguration.cs
- WindowsListViewItemStartMenu.cs
- ComponentManagerBroker.cs
- LockedBorderGlyph.cs
- XmlDataContract.cs
- XmlSiteMapProvider.cs
- DbParameterHelper.cs
- SeverityFilter.cs
- RuleSettingsCollection.cs
- GridViewRowEventArgs.cs
- ComponentDispatcherThread.cs
- LineBreakRecord.cs
- GraphicsState.cs
- CodeTypeDeclaration.cs
- RightsDocument.cs
- RichTextBox.cs
- Application.cs
- ReadWriteSpinLock.cs
- ManagedFilter.cs
- DataListItemEventArgs.cs
- ExpressionEditorAttribute.cs
- DataIdProcessor.cs
- WindowsBrush.cs
- TracePayload.cs
- FontFamily.cs
- FormViewUpdatedEventArgs.cs
- PropertyIDSet.cs
- ExitEventArgs.cs
- TrustLevelCollection.cs
- XhtmlTextWriter.cs
- LowerCaseStringConverter.cs
- SrgsElementFactory.cs
- JapaneseCalendar.cs
- Command.cs
- EntityParameterCollection.cs
- UnsafeNativeMethods.cs
- HttpContextBase.cs
- XmlNodeComparer.cs
- ExpandedWrapper.cs
- SoapException.cs
- ActivityExecutionContext.cs
- DataViewManager.cs
- OleDbFactory.cs
- StrongTypingException.cs
- FirstMatchCodeGroup.cs
- NameValueConfigurationCollection.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- Assign.cs
- MarkupExtensionParser.cs
- HwndHostAutomationPeer.cs