Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / CertificateReferenceElement.cs / 1 / CertificateReferenceElement.cs
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel.Configuration
{
using System;
using System.ServiceModel;
using System.Configuration;
using System.IdentityModel.Claims;
using System.IdentityModel.Policy;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Xml;
public sealed partial class CertificateReferenceElement : ConfigurationElement
{
public CertificateReferenceElement()
{
}
[ConfigurationProperty(ConfigurationStrings.StoreName, DefaultValue = EndpointIdentity.defaultStoreName)]
[StandardRuntimeEnumValidator(typeof(StoreName))]
public StoreName StoreName
{
get { return (StoreName)base[ConfigurationStrings.StoreName]; }
set { base[ConfigurationStrings.StoreName] = value; }
}
[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = EndpointIdentity.defaultStoreLocation)]
[StandardRuntimeEnumValidator(typeof(StoreLocation))]
public StoreLocation StoreLocation
{
get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; }
set { base[ConfigurationStrings.StoreLocation] = value; }
}
[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = EndpointIdentity.defaultX509FindType)]
[StandardRuntimeEnumValidator(typeof(X509FindType))]
public X509FindType X509FindType
{
get { return (X509FindType)base[ConfigurationStrings.X509FindType]; }
set { base[ConfigurationStrings.X509FindType] = value; }
}
[ConfigurationProperty(ConfigurationStrings.FindValue, DefaultValue = "")]
[StringValidator(MinLength = 0)]
public string FindValue
{
get { return (string)base[ConfigurationStrings.FindValue]; }
set
{
if (String.IsNullOrEmpty(value))
{
value = String.Empty;
}
base[ConfigurationStrings.FindValue] = value;
}
}
[ConfigurationProperty(ConfigurationStrings.IsChainIncluded, DefaultValue = false)]
public bool IsChainIncluded
{
get { return (bool)base[ConfigurationStrings.IsChainIncluded]; }
set { base[ConfigurationStrings.IsChainIncluded] = 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
- LabelLiteral.cs
- LinqDataSourceValidationException.cs
- ArrayList.cs
- Button.cs
- WebPartConnectVerb.cs
- ImageMetadata.cs
- MobileUITypeEditor.cs
- EnglishPluralizationService.cs
- ArrayWithOffset.cs
- BaseAsyncResult.cs
- ServiceRoute.cs
- XmlSerializerOperationFormatter.cs
- HttpApplication.cs
- LoadRetryConstantStrategy.cs
- RangeBaseAutomationPeer.cs
- GradientSpreadMethodValidation.cs
- WebOperationContext.cs
- GridViewRowEventArgs.cs
- FormViewDeleteEventArgs.cs
- DataListItemCollection.cs
- HScrollBar.cs
- AuditLogLocation.cs
- ToolboxComponentsCreatedEventArgs.cs
- Table.cs
- TextRangeEdit.cs
- DBSqlParserTableCollection.cs
- PersonalizationProvider.cs
- ToolStripDropDownButton.cs
- DataSourceCache.cs
- AddValidationError.cs
- RequestSecurityTokenSerializer.cs
- ListViewInsertionMark.cs
- ManagementDateTime.cs
- MaskDesignerDialog.cs
- HotSpotCollectionEditor.cs
- ManagementClass.cs
- DbConnectionHelper.cs
- CodeEntryPointMethod.cs
- NamespaceList.cs
- XmlSchemaInferenceException.cs
- NotConverter.cs
- SchemaType.cs
- BufferedGraphics.cs
- BinaryUtilClasses.cs
- WebBaseEventKeyComparer.cs
- SimpleWorkerRequest.cs
- TextRangeBase.cs
- EditorZoneBase.cs
- ExtensionFile.cs
- Menu.cs
- Compilation.cs
- Types.cs
- ParsedAttributeCollection.cs
- EntitySet.cs
- ValueTable.cs
- SequentialOutput.cs
- HttpCapabilitiesBase.cs
- XmlObjectSerializerReadContextComplex.cs
- ServiceOperationParameter.cs
- DispatcherFrame.cs
- UTF32Encoding.cs
- StorageComplexTypeMapping.cs
- DropShadowEffect.cs
- WindowsFormsSynchronizationContext.cs
- EntitySqlException.cs
- X509CertificateCollection.cs
- OracleException.cs
- VideoDrawing.cs
- RegexFCD.cs
- WorkflowExecutor.cs
- InputLanguage.cs
- UntypedNullExpression.cs
- ForwardPositionQuery.cs
- EmptyEnumerable.cs
- StrokeFIndices.cs
- IdentifierElement.cs
- EvidenceBase.cs
- SchemaAttDef.cs
- RegistryPermission.cs
- JpegBitmapDecoder.cs
- CharacterHit.cs
- HyperLinkDataBindingHandler.cs
- WindowsTitleBar.cs
- DataSourceSelectArguments.cs
- SchemaImporterExtension.cs
- AxHost.cs
- EntityClassGenerator.cs
- EventSetter.cs
- TransactionException.cs
- FormClosingEvent.cs
- SessionPageStatePersister.cs
- CodeGeneratorOptions.cs
- Int32Animation.cs
- XmlSchemaType.cs
- SQLInt16.cs
- OleDbErrorCollection.cs
- GridViewCellAutomationPeer.cs
- IOThreadTimer.cs
- SerializationEventsCache.cs
- DetailsViewRowCollection.cs