Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / NamedPipeTransportSecurityElement.cs / 1 / NamedPipeTransportSecurityElement.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 NamedPipeTransportSecurityElement : ConfigurationElement { [ConfigurationProperty(ConfigurationStrings.ProtectionLevel, DefaultValue = NamedPipeTransportSecurity.DefaultProtectionLevel)] [ServiceModelEnumValidator(typeof(ProtectionLevelHelper))] public ProtectionLevel ProtectionLevel { get { return (ProtectionLevel)base[ConfigurationStrings.ProtectionLevel]; } set { base[ConfigurationStrings.ProtectionLevel] = value; } } internal void ApplyConfiguration(NamedPipeTransportSecurity security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } security.ProtectionLevel = this.ProtectionLevel; } internal void InitializeFrom(NamedPipeTransportSecurity security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } this.ProtectionLevel = security.ProtectionLevel; } } } // 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
- DataGridViewColumnEventArgs.cs
- ModuleBuilderData.cs
- ValidateNames.cs
- shaper.cs
- AudioBase.cs
- DataListCommandEventArgs.cs
- XPathNodeList.cs
- CreateUserErrorEventArgs.cs
- Token.cs
- Rectangle.cs
- ComplusTypeValidator.cs
- BindingOperations.cs
- NonVisualControlAttribute.cs
- StructuredType.cs
- SignedPkcs7.cs
- ExternalCalls.cs
- ModelEditingScope.cs
- PersonalizablePropertyEntry.cs
- Events.cs
- ObjectSecurity.cs
- NodeFunctions.cs
- SerializerDescriptor.cs
- SystemIPAddressInformation.cs
- KeyedHashAlgorithm.cs
- BamlMapTable.cs
- DbConnectionInternal.cs
- FloatUtil.cs
- SystemIcons.cs
- PropertyIDSet.cs
- IsolatedStorage.cs
- ApplicationTrust.cs
- ServiceProviders.cs
- GridEntryCollection.cs
- PathSegment.cs
- HttpRuntimeSection.cs
- XmlValidatingReaderImpl.cs
- ChannelTracker.cs
- PowerStatus.cs
- ACE.cs
- StatusBarItemAutomationPeer.cs
- IInstanceContextProvider.cs
- ToolboxItemFilterAttribute.cs
- StreamingContext.cs
- ExtendedPropertyCollection.cs
- SettingsPropertyValue.cs
- SqlDataSourceSummaryPanel.cs
- EncoderNLS.cs
- EntitySetRetriever.cs
- GridViewEditEventArgs.cs
- GeneralTransform3DCollection.cs
- SelectQueryOperator.cs
- SqlUDTStorage.cs
- OdbcTransaction.cs
- SiteMapPath.cs
- documentsequencetextcontainer.cs
- ControlEvent.cs
- BuildProvidersCompiler.cs
- DefaultEventAttribute.cs
- MultiSelectRootGridEntry.cs
- WaitingCursor.cs
- ServiceRouteHandler.cs
- AppManager.cs
- SqlConnection.cs
- ValidationRule.cs
- ClientSideQueueItem.cs
- ExpressionEvaluator.cs
- TraceFilter.cs
- UnaryOperationBinder.cs
- ToolboxComponentsCreatingEventArgs.cs
- CounterSet.cs
- PropertyPathConverter.cs
- GlobalDataBindingHandler.cs
- AppDomainProtocolHandler.cs
- DispatcherOperation.cs
- TextParaLineResult.cs
- NotificationContext.cs
- RequestCache.cs
- CustomGrammar.cs
- SQlBooleanStorage.cs
- _ShellExpression.cs
- VerticalAlignConverter.cs
- ProxyElement.cs
- ProcessingInstructionAction.cs
- TypeSystemHelpers.cs
- FileDialog.cs
- GlyphRunDrawing.cs
- MultipleViewProviderWrapper.cs
- XmlDeclaration.cs
- EmbeddedMailObjectsCollection.cs
- QueryResultOp.cs
- ColorConvertedBitmap.cs
- MethodAccessException.cs
- ColumnResizeUndoUnit.cs
- LineBreakRecord.cs
- BuilderInfo.cs
- ObjectStateFormatter.cs
- IncrementalHitTester.cs
- CompoundFileStreamReference.cs
- GreenMethods.cs
- FrameworkObject.cs