Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / AuthorizationPolicyTypeElement.cs / 1 / AuthorizationPolicyTypeElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; public sealed partial class AuthorizationPolicyTypeElement : ConfigurationElement { public AuthorizationPolicyTypeElement() { } public AuthorizationPolicyTypeElement(string policyType) { if (String.IsNullOrEmpty(policyType)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("policyType"); } this.PolicyType = policyType; } [ConfigurationProperty(ConfigurationStrings.PolicyType, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] [StringValidator(MinLength = 1)] public string PolicyType { get { return (string)base[ConfigurationStrings.PolicyType]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.PolicyType] = value; } } } } // 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
- RSAOAEPKeyExchangeFormatter.cs
- PolyBezierSegment.cs
- ErrorWrapper.cs
- WindowsFormsLinkLabel.cs
- WebPartCloseVerb.cs
- WrapperEqualityComparer.cs
- bindurihelper.cs
- CompiledELinqQueryState.cs
- XmlComment.cs
- Msec.cs
- SQLMoney.cs
- AssertHelper.cs
- SqlGatherProducedAliases.cs
- GenerateTemporaryTargetAssembly.cs
- SqlClientWrapperSmiStream.cs
- DataObjectAttribute.cs
- processwaithandle.cs
- SecurityElement.cs
- BatchServiceHost.cs
- ListItemCollection.cs
- ProviderSettingsCollection.cs
- StoreUtilities.cs
- TableCellsCollectionEditor.cs
- RepeaterItemEventArgs.cs
- TextContainerChangedEventArgs.cs
- ADMembershipProvider.cs
- MsmqIntegrationReceiveParameters.cs
- PersistNameAttribute.cs
- KeyTime.cs
- XmlAttributeProperties.cs
- HttpValueCollection.cs
- ImageMetadata.cs
- QueryTask.cs
- PlacementWorkspace.cs
- RNGCryptoServiceProvider.cs
- XmlDataProvider.cs
- IEnumerable.cs
- HttpCapabilitiesSectionHandler.cs
- DependencyPropertyKey.cs
- selecteditemcollection.cs
- safelinkcollection.cs
- XmlSiteMapProvider.cs
- SafeFindHandle.cs
- TypeGeneratedEventArgs.cs
- IMembershipProvider.cs
- ListControl.cs
- SafeSecurityHandles.cs
- SqlGenericUtil.cs
- MessageSecurityOverHttp.cs
- FlowDocumentFormatter.cs
- DeviceContext.cs
- CustomDictionarySources.cs
- XmlILStorageConverter.cs
- SHA1.cs
- XmlSecureResolver.cs
- lengthconverter.cs
- ButtonBaseAdapter.cs
- ToolStripButton.cs
- ValuePatternIdentifiers.cs
- RegexReplacement.cs
- MarshalByRefObject.cs
- BoundField.cs
- NamedElement.cs
- DataListItemCollection.cs
- Byte.cs
- AccessibleObject.cs
- DBConcurrencyException.cs
- PrimitiveType.cs
- InstanceDescriptor.cs
- SqlUdtInfo.cs
- SortDescriptionCollection.cs
- SuppressIldasmAttribute.cs
- FrugalMap.cs
- RoutedEventHandlerInfo.cs
- SystemWebCachingSectionGroup.cs
- SemanticResultValue.cs
- ObjectSpanRewriter.cs
- GlobalEventManager.cs
- KerberosTokenFactoryCredential.cs
- Activity.cs
- HelpEvent.cs
- RemotingService.cs
- UInt16Storage.cs
- SaveFileDialog.cs
- CounterCreationDataCollection.cs
- EUCJPEncoding.cs
- ConsumerConnectionPointCollection.cs
- ScrollItemPattern.cs
- FontInfo.cs
- ScriptMethodAttribute.cs
- PropertyItemInternal.cs
- HandlerBase.cs
- DataControlCommands.cs
- TableRow.cs
- ListBoxChrome.cs
- CustomAttributeFormatException.cs
- HotSpotCollection.cs
- BaseUriHelper.cs
- ExtensionDataObject.cs
- RawTextInputReport.cs