Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / PeerTransportSecurityElement.cs / 1 / PeerTransportSecurityElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; using System.Globalization; using System.Net; using System.Net.Security; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Security; using System.ComponentModel; public sealed partial class PeerTransportSecurityElement : ConfigurationElement { [ConfigurationProperty(ConfigurationStrings.PeerTransportCredentialType, DefaultValue = PeerTransportSecuritySettings.DefaultCredentialType)] [ServiceModelEnumValidator(typeof(PeerTransportCredentialTypeHelper))] public PeerTransportCredentialType CredentialType { get { return (PeerTransportCredentialType)base[ConfigurationStrings.PeerTransportCredentialType]; } set { base[ConfigurationStrings.PeerTransportCredentialType] = value; } } internal void ApplyConfiguration(PeerTransportSecuritySettings security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } security.CredentialType = this.CredentialType; } internal void InitializeFrom(PeerTransportSecuritySettings security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } this.CredentialType = security.CredentialType; } internal void CopyFrom(PeerTransportSecurityElement security) { if (security == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("security"); } this.CredentialType = security.CredentialType; } } } // 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
- CodeAttributeArgument.cs
- DefinitionBase.cs
- TimelineGroup.cs
- ObjectResult.cs
- SafeProcessHandle.cs
- ListDictionary.cs
- SqlAggregateChecker.cs
- CompileXomlTask.cs
- RsaSecurityKey.cs
- CapabilitiesPattern.cs
- ObjectTag.cs
- XmlSchemaAttributeGroup.cs
- AssemblyName.cs
- KeyMatchBuilder.cs
- ImageFormatConverter.cs
- ChooseAction.cs
- SqlDataSourceSelectingEventArgs.cs
- ColorConvertedBitmapExtension.cs
- ScrollChrome.cs
- ProviderUtil.cs
- RtfNavigator.cs
- QuaternionConverter.cs
- MetadataHelper.cs
- CodeDirectoryCompiler.cs
- DateTimeOffset.cs
- RowToFieldTransformer.cs
- Vector3DAnimationBase.cs
- DocComment.cs
- WebAdminConfigurationHelper.cs
- EventWaitHandleSecurity.cs
- ScrollChrome.cs
- X509Extension.cs
- PolyLineSegmentFigureLogic.cs
- XmlChildNodes.cs
- TileBrush.cs
- XmlRawWriter.cs
- DataGridHeaderBorder.cs
- ApplySecurityAndSendAsyncResult.cs
- WriterOutput.cs
- OleTxTransaction.cs
- AssemblyCollection.cs
- Camera.cs
- NodeLabelEditEvent.cs
- CollectionChange.cs
- HttpListenerPrefixCollection.cs
- WebBrowser.cs
- PermissionSet.cs
- CompiledQuery.cs
- CapacityStreamGeometryContext.cs
- IsolatedStoragePermission.cs
- CacheMemory.cs
- ObjectQueryExecutionPlan.cs
- StoreItemCollection.cs
- SynchronizingStream.cs
- TextRangeEditLists.cs
- MaskDesignerDialog.cs
- JoinGraph.cs
- CounterSample.cs
- DoubleLinkListEnumerator.cs
- WindowsTitleBar.cs
- Menu.cs
- BitSet.cs
- OLEDB_Util.cs
- MessageAction.cs
- WizardPanelChangingEventArgs.cs
- RoutedPropertyChangedEventArgs.cs
- ThemeDictionaryExtension.cs
- XmlDataLoader.cs
- CompilerScope.cs
- HatchBrush.cs
- CultureInfo.cs
- ClientTarget.cs
- BitmapEffectGeneralTransform.cs
- XmlChoiceIdentifierAttribute.cs
- XmlNamedNodeMap.cs
- CheckableControlBaseAdapter.cs
- RequiredFieldValidator.cs
- FileEnumerator.cs
- ProfilePropertySettingsCollection.cs
- ReverseComparer.cs
- ContextMenuStrip.cs
- UpdateProgress.cs
- CommandManager.cs
- DragEventArgs.cs
- SqlBuffer.cs
- WindowsGrip.cs
- WCFModelStrings.Designer.cs
- DataKeyCollection.cs
- SoapRpcServiceAttribute.cs
- Enum.cs
- ShapeTypeface.cs
- SQLResource.cs
- OAVariantLib.cs
- KeyValueConfigurationElement.cs
- QueryPageSettingsEventArgs.cs
- DocumentPage.cs
- RewritingSimplifier.cs
- FixedPageStructure.cs
- HttpClientCertificate.cs
- MetadataItem_Static.cs