Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / AppDomainAttributes.cs / 1 / 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, [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 } [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. // ==++== // // 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, [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 } [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
- StringUtil.cs
- DataSourceControl.cs
- WebHttpSecurity.cs
- ReferenceEqualityComparer.cs
- PassportAuthenticationEventArgs.cs
- BuilderPropertyEntry.cs
- SqlTransaction.cs
- ListBoxItemWrapperAutomationPeer.cs
- KerberosReceiverSecurityToken.cs
- RequestSecurityTokenResponse.cs
- ViewEvent.cs
- WebPartConnectionCollection.cs
- EncryptedHeaderXml.cs
- PaperSize.cs
- CommandValueSerializer.cs
- BooleanAnimationUsingKeyFrames.cs
- WebServicesInteroperability.cs
- PackageRelationship.cs
- AbandonedMutexException.cs
- XamlTreeBuilder.cs
- ErrorEventArgs.cs
- ListViewPagedDataSource.cs
- ModelItemCollection.cs
- IsolatedStorage.cs
- ZipIOCentralDirectoryBlock.cs
- precedingquery.cs
- Activity.cs
- GPRECTF.cs
- RemoveFromCollection.cs
- OracleBinary.cs
- SafeNativeMethodsCLR.cs
- ToolStripArrowRenderEventArgs.cs
- StylusPointDescription.cs
- MachineKey.cs
- IndexOutOfRangeException.cs
- initElementDictionary.cs
- infer.cs
- GlobalId.cs
- BindingGroup.cs
- RegexStringValidatorAttribute.cs
- EventLogPermissionEntryCollection.cs
- RepeaterItem.cs
- DrawingVisualDrawingContext.cs
- FormConverter.cs
- RSAProtectedConfigurationProvider.cs
- DebugView.cs
- WhileDesigner.cs
- TransformerConfigurationWizardBase.cs
- ResolveMatchesMessageCD1.cs
- TransformerTypeCollection.cs
- SubtreeProcessor.cs
- IfAction.cs
- TextDecorations.cs
- PropertyItem.cs
- BitmapData.cs
- Utils.cs
- CodeIndexerExpression.cs
- DbParameterHelper.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ScrollBar.cs
- BamlRecords.cs
- Add.cs
- FormViewPageEventArgs.cs
- EdmError.cs
- TypeUtils.cs
- InvariantComparer.cs
- TrustManagerPromptUI.cs
- EntityProviderServices.cs
- CharEntityEncoderFallback.cs
- DbProviderFactories.cs
- CheckoutException.cs
- SmtpDateTime.cs
- RetrieveVirtualItemEventArgs.cs
- HtmlForm.cs
- MediaCommands.cs
- MimeTypePropertyAttribute.cs
- HttpCapabilitiesSectionHandler.cs
- SystemThemeKey.cs
- QilXmlReader.cs
- OutputScopeManager.cs
- Pair.cs
- VScrollProperties.cs
- GradientBrush.cs
- CalendarModeChangedEventArgs.cs
- DragEvent.cs
- NamespaceDecl.cs
- WorkflowShape.cs
- XmlWrappingReader.cs
- DeadCharTextComposition.cs
- ReturnValue.cs
- SchemaMapping.cs
- RequestQueue.cs
- ControlParameter.cs
- CodeStatementCollection.cs
- HtmlControl.cs
- AccessedThroughPropertyAttribute.cs
- DataGridSortCommandEventArgs.cs
- UrlRoutingHandler.cs
- VirtualizedCellInfoCollection.cs
- ProgressPage.cs