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
- Drawing.cs
- UnsignedPublishLicense.cs
- QueryExecutionOption.cs
- FunctionNode.cs
- ListViewInsertionMark.cs
- DataBoundControl.cs
- DocumentViewer.cs
- DragCompletedEventArgs.cs
- WebPartConnectionsCancelEventArgs.cs
- ResourceDictionaryCollection.cs
- EventOpcode.cs
- ItemAutomationPeer.cs
- InfoCardTraceRecord.cs
- StateManagedCollection.cs
- SqlDataSourceWizardForm.cs
- ForeignConstraint.cs
- X509Utils.cs
- TdsParameterSetter.cs
- SoapInteropTypes.cs
- PagesSection.cs
- ValueOfAction.cs
- XamlSerializerUtil.cs
- BitmapEffectInput.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- TypeConverterAttribute.cs
- JpegBitmapDecoder.cs
- ScriptResourceMapping.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- AsnEncodedData.cs
- ContextProperty.cs
- IndentedTextWriter.cs
- WrapPanel.cs
- EmbossBitmapEffect.cs
- UIElement.cs
- XmlAnyElementAttribute.cs
- SurrogateEncoder.cs
- XmlSchemaProviderAttribute.cs
- MenuItemBinding.cs
- SelectionRange.cs
- XmlSerializationReader.cs
- FragmentQueryKB.cs
- SqlDataSourceRefreshSchemaForm.cs
- ConditionBrowserDialog.cs
- TimelineCollection.cs
- Rect3DConverter.cs
- ToolStripDropDownMenu.cs
- LockRecursionException.cs
- GraphicsPathIterator.cs
- SoapMessage.cs
- BamlRecordReader.cs
- NativeObjectSecurity.cs
- TypeDependencyAttribute.cs
- BinaryUtilClasses.cs
- basecomparevalidator.cs
- WebPartMenuStyle.cs
- SettingsPropertyCollection.cs
- DataFieldConverter.cs
- x509utils.cs
- WebPartDisplayModeCollection.cs
- Certificate.cs
- ToolStrip.cs
- XmlSerializer.cs
- Rect.cs
- CrossAppDomainChannel.cs
- HtmlControlAdapter.cs
- TCPClient.cs
- TextEditorCopyPaste.cs
- XamlStyleSerializer.cs
- MessageHeader.cs
- BitmapEffectDrawing.cs
- UnaryNode.cs
- OneOf.cs
- uribuilder.cs
- EventLogTraceListener.cs
- NamespaceCollection.cs
- MatrixUtil.cs
- HttpServerVarsCollection.cs
- ObjectRef.cs
- ArglessEventHandlerProxy.cs
- DeclaredTypeElement.cs
- DateTimePicker.cs
- Underline.cs
- ComplusTypeValidator.cs
- webbrowsersite.cs
- BitmapFrameDecode.cs
- AssociationEndMember.cs
- ChangeTracker.cs
- PersonalizationState.cs
- IncomingWebRequestContext.cs
- PathTooLongException.cs
- ColumnCollection.cs
- RemoteTokenFactory.cs
- SelectionHighlightInfo.cs
- PartialTrustVisibleAssembliesSection.cs
- WebProxyScriptElement.cs
- Image.cs
- GeneratedContractType.cs
- SystemWebSectionGroup.cs
- DataServiceHostFactory.cs
- GeneratedCodeAttribute.cs