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
- ElementMarkupObject.cs
- RegistryHandle.cs
- XslTransform.cs
- TabRenderer.cs
- CurrentTimeZone.cs
- XmlChildNodes.cs
- PopOutPanel.cs
- XmlQueryOutput.cs
- querybuilder.cs
- ProviderIncompatibleException.cs
- SQLStringStorage.cs
- Base64Stream.cs
- CatalogPartChrome.cs
- ComponentResourceKey.cs
- ConstructorNeedsTagAttribute.cs
- ObjectStateEntry.cs
- BindingCompleteEventArgs.cs
- IndependentAnimationStorage.cs
- PointCollectionValueSerializer.cs
- ProtocolsConfiguration.cs
- SQLSingle.cs
- TimeZoneInfo.cs
- TcpDuplicateContext.cs
- ResizeGrip.cs
- TextDocumentView.cs
- TreeNodeEventArgs.cs
- WindowHideOrCloseTracker.cs
- HasActivatableWorkflowEvent.cs
- XmlPreloadedResolver.cs
- MultiAsyncResult.cs
- ManagementInstaller.cs
- WpfPayload.cs
- FullTextState.cs
- DocumentSequence.cs
- Figure.cs
- EDesignUtil.cs
- XmlSchemaFacet.cs
- TextBoxBaseDesigner.cs
- CaretElement.cs
- ClientData.cs
- TemplateBaseAction.cs
- DefaultCommandConverter.cs
- DbProviderFactory.cs
- GreenMethods.cs
- XmlUtilWriter.cs
- DesignerResources.cs
- ResourceExpressionBuilder.cs
- FrameworkContentElementAutomationPeer.cs
- ChangeInterceptorAttribute.cs
- Ref.cs
- OneOfElement.cs
- JsonMessageEncoderFactory.cs
- FactoryGenerator.cs
- HtmlTernaryTree.cs
- RelationshipFixer.cs
- TimeSpan.cs
- ServiceMetadataContractBehavior.cs
- TypeDependencyAttribute.cs
- Run.cs
- ExecutionContext.cs
- WindowsFormsLinkLabel.cs
- Win32NamedPipes.cs
- WindowsGraphicsCacheManager.cs
- SendActivityEventArgs.cs
- XsdSchemaFileEditor.cs
- DiagnosticStrings.cs
- PermissionSet.cs
- ContextStaticAttribute.cs
- SHA256.cs
- WebServiceEnumData.cs
- AnimationClockResource.cs
- ExpandedWrapper.cs
- MSHTMLHost.cs
- CqlLexer.cs
- LogStore.cs
- OperandQuery.cs
- UnsafeNativeMethods.cs
- IndentedWriter.cs
- RelatedEnd.cs
- NativeMethods.cs
- SecurityAppliedMessage.cs
- DeploymentSection.cs
- QueryStringHandler.cs
- OdbcEnvironment.cs
- StoreContentChangedEventArgs.cs
- FactoryGenerator.cs
- GridViewPageEventArgs.cs
- RequiredAttributeAttribute.cs
- DataSourceCollectionBase.cs
- SerialPort.cs
- SafeBitVector32.cs
- DataControlFieldsEditor.cs
- DiagnosticsElement.cs
- HtmlInputText.cs
- CompositeClientFormatter.cs
- ScriptControl.cs
- BitConverter.cs
- RangeValuePattern.cs
- DataControlFieldHeaderCell.cs
- ImmComposition.cs