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
- _Connection.cs
- TextOptions.cs
- HttpFileCollection.cs
- FactoryGenerator.cs
- TextEditorMouse.cs
- SqlInternalConnectionTds.cs
- ReflectEventDescriptor.cs
- FindRequestContext.cs
- OleDbInfoMessageEvent.cs
- VariableAction.cs
- TraceHandler.cs
- ReadOnlyHierarchicalDataSourceView.cs
- PtsCache.cs
- CommonDialog.cs
- MessageQueueKey.cs
- LayoutEngine.cs
- HMACRIPEMD160.cs
- SizeAnimation.cs
- linebase.cs
- externdll.cs
- PeerApplicationLaunchInfo.cs
- CatalogZoneBase.cs
- SafeNativeMethods.cs
- PrtCap_Builder.cs
- PerformanceCounter.cs
- Listbox.cs
- OdbcHandle.cs
- ListParaClient.cs
- SqlDataSourceStatusEventArgs.cs
- ConnectionStringsSection.cs
- Int32Converter.cs
- SQLByteStorage.cs
- ThemeableAttribute.cs
- Win32.cs
- AppSettingsExpressionBuilder.cs
- InsufficientMemoryException.cs
- ObjectDisposedException.cs
- Win32MouseDevice.cs
- HMACMD5.cs
- QuotedPrintableStream.cs
- ClientData.cs
- CompositeControl.cs
- ElapsedEventArgs.cs
- XmlDataContract.cs
- BitVec.cs
- AggregateException.cs
- DelegateTypeInfo.cs
- FilteredXmlReader.cs
- SqlFileStream.cs
- AdvancedBindingPropertyDescriptor.cs
- TransactionScopeDesigner.cs
- DataGridTablesFactory.cs
- TreeNodeCollection.cs
- FullTextBreakpoint.cs
- GridViewAutomationPeer.cs
- FileUtil.cs
- AnnotationAuthorChangedEventArgs.cs
- PermissionSet.cs
- SerializationTrace.cs
- ProbeMatches11.cs
- UriTemplateQueryValue.cs
- ScriptControlManager.cs
- SignatureHelper.cs
- RowToParametersTransformer.cs
- TableRow.cs
- PropertyRecord.cs
- DrawListViewColumnHeaderEventArgs.cs
- Drawing.cs
- SchemaInfo.cs
- Color.cs
- UIElementPropertyUndoUnit.cs
- Attributes.cs
- FieldNameLookup.cs
- DataTrigger.cs
- SelectionListDesigner.cs
- XamlTemplateSerializer.cs
- DataGridLinkButton.cs
- ToolboxComponentsCreatedEventArgs.cs
- CustomError.cs
- CodeGroup.cs
- TemplateContainer.cs
- bidPrivateBase.cs
- XmlNodeWriter.cs
- BreadCrumbTextConverter.cs
- DataGridViewCheckBoxCell.cs
- MultiSelectRootGridEntry.cs
- Base64Encoder.cs
- WebPartUserCapability.cs
- MissingManifestResourceException.cs
- ComMethodElement.cs
- DataReceivedEventArgs.cs
- DetailsViewModeEventArgs.cs
- MultiSelectRootGridEntry.cs
- MatrixIndependentAnimationStorage.cs
- Style.cs
- DataGridViewLinkCell.cs
- CheckoutException.cs
- Win32SafeHandles.cs
- AncestorChangedEventArgs.cs
- NativeMethods.cs