Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / TransactedBatchingElement.cs / 1 / TransactedBatchingElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; using System.ServiceModel.Description; public sealed partial class TransactedBatchingElement : BehaviorExtensionElement { [ConfigurationProperty(ConfigurationStrings.MaxBatchSize, DefaultValue = 0)] [IntegerValidator(MinValue = 0)] public int MaxBatchSize { get {return (int) base[ConfigurationStrings.MaxBatchSize]; } set {base[ConfigurationStrings.MaxBatchSize] = value; } } public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); TransactedBatchingElement source = from as TransactedBatchingElement; #pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null this.MaxBatchSize = source.MaxBatchSize; } protected internal override object CreateBehavior() { return new TransactedBatchingBehavior(this.MaxBatchSize); } public override Type BehaviorType { get { return typeof(TransactedBatchingBehavior); } } } } // 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
- SparseMemoryStream.cs
- EntryWrittenEventArgs.cs
- DataSourceCollectionBase.cs
- FrameworkObject.cs
- ThemeDictionaryExtension.cs
- TextFormatterContext.cs
- ToolStripDropDownItem.cs
- IdentifierCollection.cs
- ObjectStateEntryDbDataRecord.cs
- HttpRequestCacheValidator.cs
- TypedTableGenerator.cs
- DoubleUtil.cs
- RoutingConfiguration.cs
- BindingWorker.cs
- ResXResourceWriter.cs
- TreeNodeClickEventArgs.cs
- NativeMethodsCLR.cs
- CodeTryCatchFinallyStatement.cs
- ZipIORawDataFileBlock.cs
- TokenBasedSetEnumerator.cs
- TrimSurroundingWhitespaceAttribute.cs
- TextBox.cs
- AdapterSwitches.cs
- XmlQueryStaticData.cs
- ListViewItemSelectionChangedEvent.cs
- UpdateTracker.cs
- ConsoleTraceListener.cs
- TableRow.cs
- WorkflowRuntimeService.cs
- WindowInteropHelper.cs
- EventMappingSettingsCollection.cs
- SynchronizedInputPattern.cs
- VariableModifiersHelper.cs
- XpsDocumentEvent.cs
- MediaPlayer.cs
- ExtractCollection.cs
- HttpListenerResponse.cs
- ImageAnimator.cs
- Stack.cs
- EnumConverter.cs
- ConsoleKeyInfo.cs
- Unit.cs
- httpstaticobjectscollection.cs
- _Connection.cs
- GenericPrincipal.cs
- MinimizableAttributeTypeConverter.cs
- UnsafeNativeMethodsTablet.cs
- MonthChangedEventArgs.cs
- RevocationPoint.cs
- TreeNodeConverter.cs
- DesignTimeXamlWriter.cs
- SqlServer2KCompatibilityCheck.cs
- HttpStreams.cs
- DisplayMemberTemplateSelector.cs
- PagedDataSource.cs
- IdentityValidationException.cs
- ServiceMetadataContractBehavior.cs
- StorageTypeMapping.cs
- PrintEvent.cs
- SerializableAttribute.cs
- SqlXml.cs
- LookupNode.cs
- SqlProfileProvider.cs
- StylusPointPropertyUnit.cs
- EventLogPermissionEntryCollection.cs
- SharingService.cs
- RawStylusInput.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DocumentViewerBaseAutomationPeer.cs
- Page.cs
- CacheHelper.cs
- HtmlShim.cs
- SqlRewriteScalarSubqueries.cs
- AssociationTypeEmitter.cs
- ISO2022Encoding.cs
- UniqueContractNameValidationBehavior.cs
- SystemTcpStatistics.cs
- GeneralTransform3DGroup.cs
- AnchoredBlock.cs
- IDQuery.cs
- MimeParameter.cs
- WebConfigurationFileMap.cs
- DeferredTextReference.cs
- ModuleConfigurationInfo.cs
- ConnectionConsumerAttribute.cs
- TextPenaltyModule.cs
- CacheChildrenQuery.cs
- Label.cs
- XmlSigningNodeWriter.cs
- TimelineClockCollection.cs
- DiagnosticTrace.cs
- TagMapInfo.cs
- GPPOINTF.cs
- FontInfo.cs
- ByteStream.cs
- ToolStripPanel.cs
- IPGlobalProperties.cs
- ConnectionManagementSection.cs
- CatalogPart.cs
- ForwardPositionQuery.cs