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
- DesignerTransaction.cs
- CorrelationValidator.cs
- InteropAutomationProvider.cs
- Exception.cs
- DecimalStorage.cs
- WebBrowserProgressChangedEventHandler.cs
- EmptyQuery.cs
- StringExpressionSet.cs
- BamlTreeNode.cs
- DispatcherTimer.cs
- SqlWebEventProvider.cs
- Misc.cs
- KeyInterop.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- WebBrowserBase.cs
- GridViewCancelEditEventArgs.cs
- EdmTypeAttribute.cs
- RestClientProxyHandler.cs
- ListenerChannelContext.cs
- PerformanceCounter.cs
- ProfileModule.cs
- SafeLibraryHandle.cs
- XmlSchemaSimpleTypeRestriction.cs
- SmtpSection.cs
- Section.cs
- InvokeAction.cs
- ArglessEventHandlerProxy.cs
- Point.cs
- _Win32.cs
- TypeExtensionConverter.cs
- Validator.cs
- HttpResponseInternalWrapper.cs
- SpecularMaterial.cs
- ReadOnlyMetadataCollection.cs
- NetStream.cs
- MenuAutoFormat.cs
- WebPartAuthorizationEventArgs.cs
- ModuleBuilder.cs
- HMACRIPEMD160.cs
- RedistVersionInfo.cs
- ColorConverter.cs
- RetrieveVirtualItemEventArgs.cs
- DataGridViewCellLinkedList.cs
- TextTreeNode.cs
- GridViewRowCollection.cs
- DataObjectCopyingEventArgs.cs
- WebRequest.cs
- ReadOnlyHierarchicalDataSourceView.cs
- JsonByteArrayDataContract.cs
- HttpContext.cs
- CheckPair.cs
- Rule.cs
- ReverseInheritProperty.cs
- WebPartCollection.cs
- BamlLocalizer.cs
- ImageSourceConverter.cs
- Query.cs
- ErrorHandler.cs
- ConstraintStruct.cs
- CqlParser.cs
- XmlValidatingReaderImpl.cs
- XmlEntity.cs
- WizardSideBarListControlItemEventArgs.cs
- SqlServices.cs
- TypedElement.cs
- NumericUpDownAccelerationCollection.cs
- BaseHashHelper.cs
- RoleService.cs
- CacheSection.cs
- HostUtils.cs
- CreateSequenceResponse.cs
- UnsafeNativeMethods.cs
- WindowsAuthenticationModule.cs
- ToolStripContentPanel.cs
- CompressionTracing.cs
- NamespaceMapping.cs
- Compiler.cs
- RuleAction.cs
- ConfigXmlAttribute.cs
- CodeMethodReturnStatement.cs
- ModelPerspective.cs
- ToolStripLocationCancelEventArgs.cs
- ToolStripItemGlyph.cs
- TargetPerspective.cs
- MD5CryptoServiceProvider.cs
- listitem.cs
- FocusManager.cs
- PartialTrustHelpers.cs
- FunctionNode.cs
- InternalControlCollection.cs
- ToolStripItemEventArgs.cs
- DataGridViewHitTestInfo.cs
- UICuesEvent.cs
- HTMLTextWriter.cs
- CapiSymmetricAlgorithm.cs
- PrimitiveList.cs
- DictionaryBase.cs
- LogicalExpr.cs
- ConfigXmlComment.cs
- SQLUtility.cs