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
- Error.cs
- HtmlAnchor.cs
- DemultiplexingClientMessageFormatter.cs
- PagerSettings.cs
- ScriptModule.cs
- COM2TypeInfoProcessor.cs
- TypeAccessException.cs
- SubtreeProcessor.cs
- DesignBindingPicker.cs
- StreamUpdate.cs
- OperationCanceledException.cs
- TdsParser.cs
- FileDataSourceCache.cs
- XmlTypeAttribute.cs
- returneventsaver.cs
- PasswordValidationException.cs
- PerformanceCounterCategory.cs
- RegexReplacement.cs
- RbTree.cs
- StrongNamePublicKeyBlob.cs
- FacetDescriptionElement.cs
- DependencyPropertyHelper.cs
- SafeRightsManagementPubHandle.cs
- IndentedTextWriter.cs
- UshortList2.cs
- CultureSpecificStringDictionary.cs
- GPRECT.cs
- DateTimeHelper.cs
- RepeatButton.cs
- BaseTemplateParser.cs
- ModelTreeEnumerator.cs
- ToolStripCustomTypeDescriptor.cs
- BinaryCommonClasses.cs
- DoubleKeyFrameCollection.cs
- DoubleCollectionValueSerializer.cs
- MenuItemStyle.cs
- WebPartManagerDesigner.cs
- WindowsToolbarItemAsMenuItem.cs
- IndexedWhereQueryOperator.cs
- BrowserDefinitionCollection.cs
- PageThemeBuildProvider.cs
- XmlElementAttribute.cs
- FormViewDeletedEventArgs.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- PaperSource.cs
- AsnEncodedData.cs
- ParameterReplacerVisitor.cs
- UpdatePanelTrigger.cs
- entitydatasourceentitysetnameconverter.cs
- CallbackException.cs
- HandleCollector.cs
- BoundField.cs
- MarginsConverter.cs
- SafeCryptContextHandle.cs
- URLEditor.cs
- HttpInputStream.cs
- DrawingVisual.cs
- TranslateTransform3D.cs
- CompiledQueryCacheEntry.cs
- GeneralTransform3DGroup.cs
- MatrixIndependentAnimationStorage.cs
- SchemaElement.cs
- AuthenticationModuleElement.cs
- OracleException.cs
- Int16Animation.cs
- FilterableAttribute.cs
- RegexCompiler.cs
- SmiContextFactory.cs
- PrintingPermissionAttribute.cs
- RegisteredScript.cs
- ClaimSet.cs
- SettingsPropertyCollection.cs
- SymbolPair.cs
- RewritingSimplifier.cs
- TraceContextRecord.cs
- clipboard.cs
- FormViewDeletedEventArgs.cs
- CodeParameterDeclarationExpression.cs
- COMException.cs
- Identity.cs
- X509PeerCertificateAuthenticationElement.cs
- SoapAttributeAttribute.cs
- DataViewManagerListItemTypeDescriptor.cs
- ComponentEditorPage.cs
- Wizard.cs
- RemoteWebConfigurationHostServer.cs
- Stroke2.cs
- StrongNameUtility.cs
- ISCIIEncoding.cs
- WebConfigurationManager.cs
- CLRBindingWorker.cs
- _OverlappedAsyncResult.cs
- ForeignKeyConstraint.cs
- PageCatalogPartDesigner.cs
- SelectionChangedEventArgs.cs
- XmlIterators.cs
- XmlSchemaRedefine.cs
- TwoPhaseCommit.cs
- COSERVERINFO.cs
- NameValuePermission.cs