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
- IOException.cs
- SafeSystemMetrics.cs
- PingOptions.cs
- SafeArrayTypeMismatchException.cs
- Vertex.cs
- newinstructionaction.cs
- Floater.cs
- CriticalFinalizerObject.cs
- DataGridViewElement.cs
- ServiceContractDetailViewControl.cs
- ThreadAbortException.cs
- Light.cs
- SafeNativeMethods.cs
- EndOfStreamException.cs
- HttpValueCollection.cs
- XmlValidatingReader.cs
- InfiniteTimeSpanConverter.cs
- XmlSchemaNotation.cs
- InsufficientExecutionStackException.cs
- OleAutBinder.cs
- WebBrowserContainer.cs
- ImageAutomationPeer.cs
- PlainXmlWriter.cs
- IconConverter.cs
- EventLogPermissionEntryCollection.cs
- GridItemPattern.cs
- SQLMembershipProvider.cs
- RepeaterItemCollection.cs
- MetadataUtil.cs
- TableRowCollection.cs
- SqlFileStream.cs
- DataGridSortCommandEventArgs.cs
- XmlNamedNodeMap.cs
- DataTableReaderListener.cs
- XmlSchemaImporter.cs
- MasterPageCodeDomTreeGenerator.cs
- UTF8Encoding.cs
- PrintEvent.cs
- SystemWebSectionGroup.cs
- CommandExpr.cs
- WeakEventManager.cs
- DetailsViewCommandEventArgs.cs
- UnsafeNativeMethodsCLR.cs
- NavigationProgressEventArgs.cs
- CipherData.cs
- ForwardPositionQuery.cs
- ChangeBlockUndoRecord.cs
- ScopeCollection.cs
- MimeFormImporter.cs
- sqlnorm.cs
- MonthCalendar.cs
- DebugTrace.cs
- DataSysAttribute.cs
- CompositeCollection.cs
- StorageConditionPropertyMapping.cs
- BindingsSection.cs
- CommandID.cs
- DockingAttribute.cs
- SByte.cs
- AvTrace.cs
- Keyboard.cs
- SupportsEventValidationAttribute.cs
- baseshape.cs
- X500Name.cs
- SharedStatics.cs
- UseAttributeSetsAction.cs
- DaylightTime.cs
- CustomErrorsSectionWrapper.cs
- FixedElement.cs
- MatrixValueSerializer.cs
- ApplicationFileParser.cs
- RemoteCryptoDecryptRequest.cs
- ControlValuePropertyAttribute.cs
- XmlIterators.cs
- TrustSection.cs
- PageCodeDomTreeGenerator.cs
- HttpCookieCollection.cs
- PasswordRecovery.cs
- CanonicalFormWriter.cs
- XPathSelfQuery.cs
- XmlElementAttribute.cs
- SignatureToken.cs
- DefaultAuthorizationContext.cs
- SvcMapFileLoader.cs
- VBIdentifierDesigner.xaml.cs
- XamlGridLengthSerializer.cs
- OpCellTreeNode.cs
- BindingMemberInfo.cs
- ConfigurationSectionGroupCollection.cs
- WsiProfilesElement.cs
- XmlSchemaSimpleTypeList.cs
- NumericUpDown.cs
- XmlTypeMapping.cs
- Certificate.cs
- WindowsButton.cs
- DataBindingCollection.cs
- basenumberconverter.cs
- StaticContext.cs
- RetrieveVirtualItemEventArgs.cs
- SHA512CryptoServiceProvider.cs