Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / Configuration / DataContractSerializerSection.cs / 1305376 / DataContractSerializerSection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Runtime.Serialization.Configuration { using System; using System.Collections.Generic; using System.Configuration; using System.Globalization; using System.Security.Permissions; using System.Security; public sealed partial class DataContractSerializerSection : ConfigurationSection { public DataContractSerializerSection() : base() { } [Fx.Tag.SecurityNote(Critical = "Elevates in order to get the DataContractSerializerSection config section." + " Caller should not leak config section instance to untrusted code.")] [SecurityCritical] [ConfigurationPermission(SecurityAction.Assert, Unrestricted = true)] internal static DataContractSerializerSection UnsafeGetSection() { DataContractSerializerSection section = (DataContractSerializerSection)ConfigurationManager.GetSection(ConfigurationStrings.DataContractSerializerSectionPath); if (section == null) { throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigDataContractSerializerSectionLoadError))); } return section; } [ConfigurationProperty(ConfigurationStrings.DeclaredTypes, DefaultValue = null)] public DeclaredTypeElementCollection DeclaredTypes { get { return (DeclaredTypeElementCollection)base[ConfigurationStrings.DeclaredTypes]; } } } } // 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
- LogRestartAreaEnumerator.cs
- SystemIPv4InterfaceProperties.cs
- DataControlCommands.cs
- ContextBase.cs
- DataGridViewColumnEventArgs.cs
- TdsParserHelperClasses.cs
- DateTimeFormatInfo.cs
- ScriptingSectionGroup.cs
- XmlDigitalSignatureProcessor.cs
- ConsumerConnectionPoint.cs
- StringArrayConverter.cs
- OleDbStruct.cs
- ReferenceConverter.cs
- RemotingServices.cs
- DownloadProgressEventArgs.cs
- HtmlElement.cs
- DataList.cs
- ErrorBehavior.cs
- HttpCapabilitiesBase.cs
- SyntaxCheck.cs
- GridViewRowEventArgs.cs
- CompiledIdentityConstraint.cs
- StringReader.cs
- ResolveCriteria.cs
- DataError.cs
- SingleQueryOperator.cs
- ButtonStandardAdapter.cs
- BamlResourceDeserializer.cs
- WindowsStatic.cs
- x509utils.cs
- StorageAssociationSetMapping.cs
- AttributeData.cs
- SeparatorAutomationPeer.cs
- TypeDescriptionProviderAttribute.cs
- StorageMappingItemLoader.cs
- TextWriter.cs
- BatchStream.cs
- TransformValueSerializer.cs
- WebSysDisplayNameAttribute.cs
- QueryLifecycle.cs
- BaseAsyncResult.cs
- DataGridTextBoxColumn.cs
- DispatcherHooks.cs
- SystemIPInterfaceStatistics.cs
- XPathScanner.cs
- objectquery_tresulttype.cs
- QueueProcessor.cs
- ServiceModelEnumValidatorAttribute.cs
- XmlWrappingReader.cs
- UrlMappingsModule.cs
- IsolatedStoragePermission.cs
- precedingquery.cs
- HMACRIPEMD160.cs
- XmlObjectSerializer.cs
- PerformanceCounterCategory.cs
- ToolTipAutomationPeer.cs
- Debug.cs
- mda.cs
- ButtonFlatAdapter.cs
- EventManager.cs
- GlobalEventManager.cs
- SpeechSeg.cs
- RemotingAttributes.cs
- CodeTypeMemberCollection.cs
- OracleCommandSet.cs
- TypeDescriptorFilterService.cs
- DecimalAverageAggregationOperator.cs
- HtmlFormParameterReader.cs
- XmlIlVisitor.cs
- Point3DAnimationBase.cs
- followingsibling.cs
- ImageInfo.cs
- DataConnectionHelper.cs
- XmlSchemaSimpleType.cs
- _LocalDataStoreMgr.cs
- DashStyle.cs
- FieldToken.cs
- TextServicesHost.cs
- TextTrailingWordEllipsis.cs
- DataGridViewAutoSizeModeEventArgs.cs
- HtmlInputImage.cs
- SqlClientWrapperSmiStream.cs
- CellConstantDomain.cs
- CollectionDataContract.cs
- AnnotationAuthorChangedEventArgs.cs
- MessagePropertyDescriptionCollection.cs
- ConstructorArgumentAttribute.cs
- HttpApplicationStateWrapper.cs
- XmlNodeList.cs
- DynamicRouteExpression.cs
- TextTrailingWordEllipsis.cs
- JsonReaderWriterFactory.cs
- WorkflowTimerService.cs
- ProfileBuildProvider.cs
- _Events.cs
- ClientType.cs
- SerializerDescriptor.cs
- PnrpPermission.cs
- PageAdapter.cs
- DbParameterCollection.cs