Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / AppDomainAttributes.cs / 1305376 / AppDomainAttributes.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*==============================================================================
**
** File: AppDomainAttributes
**
** [....]
**
**
** Purpose: For AppDomain-related custom attributes.
**
**
=============================================================================*/
namespace System {
[Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum LoaderOptimization
{
NotSpecified = 0,
SingleDomain = 1,
MultiDomain = 2,
MultiDomainHost = 3,
#if !FEATURE_CORECLR
[Obsolete("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")]
DomainMask = 3,
[Obsolete("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")]
DisallowBindings = 4
#endif
}
[AttributeUsage (AttributeTargets.Method)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class LoaderOptimizationAttribute : Attribute
{
internal byte _val;
public LoaderOptimizationAttribute(byte value)
{
_val = value;
}
public LoaderOptimizationAttribute(LoaderOptimization value)
{
_val = (byte) value;
}
public LoaderOptimization Value
{ get {return (LoaderOptimization) _val;} }
}
}
// 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
- CatchDesigner.xaml.cs
- UnhandledExceptionEventArgs.cs
- FlagsAttribute.cs
- CryptoApi.cs
- ObjectPersistData.cs
- UidPropertyAttribute.cs
- CircleHotSpot.cs
- ResolveNameEventArgs.cs
- Application.cs
- PlanCompiler.cs
- StringUtil.cs
- ExpressionStringBuilder.cs
- RegistryPermission.cs
- StrongNameHelpers.cs
- AnnotationAuthorChangedEventArgs.cs
- NativeMethods.cs
- DescriptionAttribute.cs
- IBuiltInEvidence.cs
- ManipulationVelocities.cs
- SocketPermission.cs
- X509IssuerSerialKeyIdentifierClause.cs
- CompressedStack.cs
- RestHandlerFactory.cs
- StylusPointPropertyUnit.cs
- SslStream.cs
- TypeForwardedFromAttribute.cs
- DataKeyCollection.cs
- OdbcParameterCollection.cs
- OleDbPropertySetGuid.cs
- SmtpAuthenticationManager.cs
- BitmapEffectDrawing.cs
- OdbcPermission.cs
- AppSettingsExpressionBuilder.cs
- BufferModeSettings.cs
- TypeViewSchema.cs
- DataSourceGeneratorException.cs
- Comparer.cs
- OdbcConnectionStringbuilder.cs
- ClientFormsAuthenticationMembershipProvider.cs
- OptimalTextSource.cs
- SqlColumnizer.cs
- ContextStack.cs
- CreateUserWizardStep.cs
- PropertyDescriptor.cs
- XmlBufferReader.cs
- HtmlPhoneCallAdapter.cs
- ScriptIgnoreAttribute.cs
- PropertyGroupDescription.cs
- TemplatedEditableDesignerRegion.cs
- ToolStripDropTargetManager.cs
- UrlMapping.cs
- JpegBitmapEncoder.cs
- HostExecutionContextManager.cs
- DesigntimeLicenseContext.cs
- SecurityDocument.cs
- HtmlTextArea.cs
- SmtpReplyReader.cs
- Variable.cs
- UriTemplateHelpers.cs
- Boolean.cs
- MetabaseServerConfig.cs
- WindowsRichEditRange.cs
- TabItemAutomationPeer.cs
- KeyTimeConverter.cs
- FlowNode.cs
- TableSectionStyle.cs
- TextPenaltyModule.cs
- AggregateNode.cs
- RequestBringIntoViewEventArgs.cs
- DataTableMapping.cs
- SecurityState.cs
- SoapServerMessage.cs
- ReflectTypeDescriptionProvider.cs
- ReadOnlyObservableCollection.cs
- RenderContext.cs
- AuthenticateEventArgs.cs
- QueueProcessor.cs
- HttpMethodAttribute.cs
- MainMenu.cs
- ReturnType.cs
- ListViewAutomationPeer.cs
- Crc32.cs
- BaseValidator.cs
- CopyAttributesAction.cs
- LookupNode.cs
- EnvironmentPermission.cs
- KeyInfo.cs
- DoubleCollectionConverter.cs
- JsonByteArrayDataContract.cs
- RegexCode.cs
- InternalControlCollection.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- DbConnectionStringCommon.cs
- ValueTypePropertyReference.cs
- EntityDataSourceConfigureObjectContext.cs
- HandlerBase.cs
- DynamicArgumentDialog.cs
- COM2PictureConverter.cs
- ImageFormatConverter.cs
- CodeDomDecompiler.cs