Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / NetNamedPipeSecurityElement.cs / 1 / NetNamedPipeSecurityElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; using System.ServiceModel.Channels; using System.Globalization; using System.Net; using System.Net.Security; using System.ServiceModel; using System.ServiceModel.Security; using System.ComponentModel; public sealed partial class NetNamedPipeSecurityElement : ConfigurationElement { [ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = NetNamedPipeSecurity.DefaultMode)] [ServiceModelEnumValidator(typeof(NetNamedPipeSecurityModeHelper))] public NetNamedPipeSecurityMode Mode { get { return (NetNamedPipeSecurityMode)base[ConfigurationStrings.Mode]; } set { base[ConfigurationStrings.Mode] = value; } } [ConfigurationProperty(ConfigurationStrings.Transport)] public NamedPipeTransportSecurityElement Transport { get { return (NamedPipeTransportSecurityElement)base[ConfigurationStrings.Transport]; } } internal void ApplyConfiguration(NetNamedPipeSecurity security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } security.Mode = this.Mode; this.Transport.ApplyConfiguration(security.Transport); } internal void InitializeFrom(NetNamedPipeSecurity security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } this.Mode = security.Mode; this.Transport.InitializeFrom(security.Transport); } } } // 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
- ClientEventManager.cs
- Tablet.cs
- XmlNotation.cs
- HttpRequestTraceRecord.cs
- StdValidatorsAndConverters.cs
- storagemappingitemcollection.viewdictionary.cs
- BitmapEffectOutputConnector.cs
- CellCreator.cs
- SqlCacheDependency.cs
- TextOutput.cs
- OletxDependentTransaction.cs
- MemberProjectionIndex.cs
- HandledMouseEvent.cs
- TextTreeDeleteContentUndoUnit.cs
- InternalConfigEventArgs.cs
- EtwTrackingBehavior.cs
- EdmError.cs
- TaiwanLunisolarCalendar.cs
- GridItemCollection.cs
- LinearGradientBrush.cs
- ResolveDuplexAsyncResult.cs
- SaveLedgerEntryRequest.cs
- XmlValueConverter.cs
- OpenTypeLayout.cs
- VisualTreeFlattener.cs
- GridViewRowCollection.cs
- ElapsedEventArgs.cs
- FixedSOMFixedBlock.cs
- XmlSerializerAssemblyAttribute.cs
- VBIdentifierTrimConverter.cs
- AppModelKnownContentFactory.cs
- EntityWrapperFactory.cs
- Maps.cs
- Win32SafeHandles.cs
- XmlAttributeHolder.cs
- QueryServiceConfigHandle.cs
- ObjectStateEntry.cs
- Logging.cs
- TabControl.cs
- ReadOnlyTernaryTree.cs
- ParamArrayAttribute.cs
- PeerNameRecordCollection.cs
- TcpTransportManager.cs
- ImportStoreException.cs
- LOSFormatter.cs
- BackStopAuthenticationModule.cs
- DateTimePicker.cs
- AnnotationObservableCollection.cs
- CollectionViewSource.cs
- MimeBasePart.cs
- HttpServerVarsCollection.cs
- DynamicRendererThreadManager.cs
- GenericUriParser.cs
- CheckBoxAutomationPeer.cs
- DataServiceClientException.cs
- FixedSOMPageConstructor.cs
- EventLogPermissionEntry.cs
- BreakSafeBase.cs
- CompilerWrapper.cs
- TagNameToTypeMapper.cs
- DataListCommandEventArgs.cs
- DataGridViewCellConverter.cs
- DataTableMapping.cs
- PersonalizableAttribute.cs
- QueryPageSettingsEventArgs.cs
- Activity.cs
- CollectionChangedEventManager.cs
- SystemColors.cs
- TreeIterator.cs
- BinHexEncoding.cs
- DefaultHttpHandler.cs
- OutputCacheSettings.cs
- TableRow.cs
- SortAction.cs
- FileSystemWatcher.cs
- SoapCommonClasses.cs
- HtmlInputText.cs
- NativeMethods.cs
- LockRecursionException.cs
- MimeObjectFactory.cs
- SyncMethodInvoker.cs
- CancellationTokenSource.cs
- FloaterBaseParaClient.cs
- RijndaelManagedTransform.cs
- ConnectionManagementSection.cs
- MetadataCache.cs
- MetadataCache.cs
- InProcStateClientManager.cs
- LocationSectionRecord.cs
- ListView.cs
- XmlQueryCardinality.cs
- MarkupExtensionReturnTypeAttribute.cs
- FlowDocumentFormatter.cs
- Pair.cs
- Point3DIndependentAnimationStorage.cs
- DBSqlParser.cs
- DataGridPagerStyle.cs
- DocumentReference.cs
- AssemblyBuilder.cs
- BasicExpressionVisitor.cs