Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / SmtpSpecifiedPickupDirectoryElement.cs / 1305376 / SmtpSpecifiedPickupDirectoryElement.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Net.Configuration
{
using System;
using System.Configuration;
using System.Net;
using System.Reflection;
using System.Security.Permissions;
public sealed class SmtpSpecifiedPickupDirectoryElement : ConfigurationElement
{
public SmtpSpecifiedPickupDirectoryElement()
{
this.properties.Add(this.pickupDirectoryLocation);
}
protected override ConfigurationPropertyCollection Properties
{
get
{
return this.properties;
}
}
[ConfigurationProperty(ConfigurationStrings.PickupDirectoryLocation)]
public string PickupDirectoryLocation
{
get { return (string)this[this.pickupDirectoryLocation]; }
set { this[this.pickupDirectoryLocation] = value; }
}
//
ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
readonly ConfigurationProperty pickupDirectoryLocation =
new ConfigurationProperty(ConfigurationStrings.PickupDirectoryLocation, typeof(string), null,
ConfigurationPropertyOptions.None);
}
internal sealed class SmtpSpecifiedPickupDirectoryElementInternal
{
internal SmtpSpecifiedPickupDirectoryElementInternal(SmtpSpecifiedPickupDirectoryElement element)
{
this.pickupDirectoryLocation = element.PickupDirectoryLocation;
}
internal string PickupDirectoryLocation
{
get { return this.pickupDirectoryLocation; }
}
string pickupDirectoryLocation;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Net.Configuration
{
using System;
using System.Configuration;
using System.Net;
using System.Reflection;
using System.Security.Permissions;
public sealed class SmtpSpecifiedPickupDirectoryElement : ConfigurationElement
{
public SmtpSpecifiedPickupDirectoryElement()
{
this.properties.Add(this.pickupDirectoryLocation);
}
protected override ConfigurationPropertyCollection Properties
{
get
{
return this.properties;
}
}
[ConfigurationProperty(ConfigurationStrings.PickupDirectoryLocation)]
public string PickupDirectoryLocation
{
get { return (string)this[this.pickupDirectoryLocation]; }
set { this[this.pickupDirectoryLocation] = value; }
}
//
ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
readonly ConfigurationProperty pickupDirectoryLocation =
new ConfigurationProperty(ConfigurationStrings.PickupDirectoryLocation, typeof(string), null,
ConfigurationPropertyOptions.None);
}
internal sealed class SmtpSpecifiedPickupDirectoryElementInternal
{
internal SmtpSpecifiedPickupDirectoryElementInternal(SmtpSpecifiedPickupDirectoryElement element)
{
this.pickupDirectoryLocation = element.PickupDirectoryLocation;
}
internal string PickupDirectoryLocation
{
get { return this.pickupDirectoryLocation; }
}
string pickupDirectoryLocation;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MachineKeySection.cs
- OletxCommittableTransaction.cs
- WebServiceEnumData.cs
- ZipPackagePart.cs
- StartUpEventArgs.cs
- SerializableReadOnlyDictionary.cs
- GPRECT.cs
- PackWebResponse.cs
- XmlNamespaceManager.cs
- FixedBufferAttribute.cs
- CompModSwitches.cs
- StrongNamePublicKeyBlob.cs
- ConnectionString.cs
- WebSysDisplayNameAttribute.cs
- InheritablePropertyChangeInfo.cs
- M3DUtil.cs
- BufferedGraphics.cs
- NullableDoubleAverageAggregationOperator.cs
- ApplicationTrust.cs
- DesignerUtility.cs
- StringPropertyBuilder.cs
- LoginName.cs
- ContentHostHelper.cs
- IndentTextWriter.cs
- DecodeHelper.cs
- _AcceptOverlappedAsyncResult.cs
- CommonDialog.cs
- QuadraticBezierSegment.cs
- TokenBasedSetEnumerator.cs
- PolyLineSegment.cs
- CustomCategoryAttribute.cs
- COM2TypeInfoProcessor.cs
- QilPatternVisitor.cs
- DataGridViewTextBoxCell.cs
- StringBuilder.cs
- WebPartEventArgs.cs
- AuthorizationRuleCollection.cs
- SubpageParaClient.cs
- OdbcStatementHandle.cs
- ColorKeyFrameCollection.cs
- SqlCommand.cs
- ImageFormat.cs
- Point3DCollectionConverter.cs
- MarkupCompiler.cs
- MLangCodePageEncoding.cs
- Utilities.cs
- SqlDataSourceConfigureFilterForm.cs
- KeyPullup.cs
- TypeViewSchema.cs
- Int32KeyFrameCollection.cs
- TypeBuilder.cs
- SerializationEventsCache.cs
- versioninfo.cs
- ToolStripDropDownItemDesigner.cs
- UIElement3DAutomationPeer.cs
- ProtectedConfigurationSection.cs
- Literal.cs
- ControlValuePropertyAttribute.cs
- StartUpEventArgs.cs
- Operand.cs
- Point3DConverter.cs
- cookie.cs
- PageResolution.cs
- RotationValidation.cs
- BuiltInExpr.cs
- ListViewItemSelectionChangedEvent.cs
- JoinGraph.cs
- ModuleBuilder.cs
- FolderLevelBuildProvider.cs
- XamlBrushSerializer.cs
- TraceProvider.cs
- KerberosSecurityTokenParameters.cs
- TransformerInfoCollection.cs
- DynamicControlParameter.cs
- SortExpressionBuilder.cs
- TimeoutHelper.cs
- FormViewRow.cs
- StandardCommands.cs
- SerializationEventsCache.cs
- InvalidCastException.cs
- NamespaceCollection.cs
- x509utils.cs
- SHA256.cs
- TextDecorationLocationValidation.cs
- DesignerActionUI.cs
- MulticastOption.cs
- WinEventHandler.cs
- ParsedAttributeCollection.cs
- LicFileLicenseProvider.cs
- ValidationUtility.cs
- GroupBoxDesigner.cs
- ProfileGroupSettingsCollection.cs
- ComplexPropertyEntry.cs
- Misc.cs
- PageHandlerFactory.cs
- ItemsPresenter.cs
- NotifyInputEventArgs.cs
- PointAnimationBase.cs
- SimpleRecyclingCache.cs
- ActivityTypeCodeDomSerializer.cs