Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / CommonBehaviorsSection.cs / 1 / CommonBehaviorsSection.cs
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel.Configuration
{
using System.Configuration;
using System.Globalization;
using System.ServiceModel;
using System.Security;
public partial class CommonBehaviorsSection : ConfigurationSection
{
[ConfigurationProperty(ConfigurationStrings.EndpointBehaviors, Options = ConfigurationPropertyOptions.None)]
public CommonEndpointBehaviorElement EndpointBehaviors
{
get { return (CommonEndpointBehaviorElement)base[ConfigurationStrings.EndpointBehaviors]; }
}
[ConfigurationProperty(ConfigurationStrings.ServiceBehaviors, Options = ConfigurationPropertyOptions.None)]
public CommonServiceBehaviorElement ServiceBehaviors
{
get { return (CommonServiceBehaviorElement)base[ConfigurationStrings.ServiceBehaviors]; }
}
internal static CommonBehaviorsSection GetSection()
{
return (CommonBehaviorsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.CommonBehaviorsSectionPath);
}
///
/// Critical - calls Critical method UnsafeGetSection which elevates in order to fetch config
/// caller must guard access to resultant config section
///
[SecurityCritical]
internal static CommonBehaviorsSection UnsafeGetSection()
{
return (CommonBehaviorsSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.CommonBehaviorsSectionPath);
}
///
/// Critical - calls Critical method UnsafeGetAssociatedSection which elevates in order to fetch config
/// caller must guard access to resultant config section
///
[SecurityCritical]
internal static CommonBehaviorsSection UnsafeGetAssociatedSection(ContextInformation contextEval)
{
return (CommonBehaviorsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(contextEval, ConfigurationStrings.CommonBehaviorsSectionPath);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SchemaNotation.cs
- XmlSchemaIdentityConstraint.cs
- MsmqIntegrationBindingElement.cs
- TypeDescriptorContext.cs
- RelationHandler.cs
- KeyToListMap.cs
- SocketElement.cs
- MSAAEventDispatcher.cs
- ClientSettingsStore.cs
- EventSetterHandlerConverter.cs
- ReliableOutputSessionChannel.cs
- PageEventArgs.cs
- Point4DValueSerializer.cs
- PreDigestedSignedInfo.cs
- __FastResourceComparer.cs
- DynamicValidatorEventArgs.cs
- CounterSetInstance.cs
- DataControlFieldHeaderCell.cs
- NetStream.cs
- RootProfilePropertySettingsCollection.cs
- SwitchAttribute.cs
- AutomationPropertyInfo.cs
- GlobalEventManager.cs
- Renderer.cs
- RegexCompiler.cs
- TreeNodeCollection.cs
- DataServiceClientException.cs
- AliasedSlot.cs
- SimpleRecyclingCache.cs
- FormsAuthentication.cs
- AccessedThroughPropertyAttribute.cs
- SqlComparer.cs
- StylusOverProperty.cs
- CoreSwitches.cs
- BinarySerializer.cs
- PasswordBoxAutomationPeer.cs
- ProcessInfo.cs
- OutputCacheSettings.cs
- WebBrowserSiteBase.cs
- DocumentViewerBaseAutomationPeer.cs
- CorePropertiesFilter.cs
- XmlDomTextWriter.cs
- httpapplicationstate.cs
- KeyNotFoundException.cs
- MSHTMLHost.cs
- TableLayoutPanel.cs
- CacheDependency.cs
- WindowsFormsHost.cs
- XPathAxisIterator.cs
- TableLayoutColumnStyleCollection.cs
- CommandField.cs
- ResourceProviderFactory.cs
- Operators.cs
- FieldNameLookup.cs
- EdmProviderManifest.cs
- ColorContext.cs
- XmlHierarchicalDataSourceView.cs
- QueryAccessibilityHelpEvent.cs
- ValidatorCompatibilityHelper.cs
- ClockGroup.cs
- MetadataPropertyAttribute.cs
- PersonalizationEntry.cs
- AttachedProperty.cs
- InheritanceContextChangedEventManager.cs
- RawAppCommandInputReport.cs
- TextRunProperties.cs
- BitmapEffectInput.cs
- WebBrowsableAttribute.cs
- Lasso.cs
- Pens.cs
- BoolLiteral.cs
- SystemResourceHost.cs
- TextEndOfLine.cs
- DodSequenceMerge.cs
- CollectionsUtil.cs
- NavigationPropertyEmitter.cs
- ModuleElement.cs
- CmsInterop.cs
- ToolStripContainerDesigner.cs
- TextLineResult.cs
- DataBoundControl.cs
- InternalConfigConfigurationFactory.cs
- FontDriver.cs
- ConfigurationHandlersInstallComponent.cs
- Pen.cs
- XmlSignatureProperties.cs
- ServiceBehaviorElement.cs
- XmlSchemaAnnotation.cs
- DescendentsWalkerBase.cs
- WebPartTransformerAttribute.cs
- Identity.cs
- IsolatedStorageFileStream.cs
- Stylus.cs
- EntityDataReader.cs
- OrderingExpression.cs
- WindowsIPAddress.cs
- ListViewDataItem.cs
- ImageKeyConverter.cs
- ValidationEventArgs.cs
- CachingHintValidation.cs