Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Dispatcher / ImmutableClientRuntime.cs / 1 / ImmutableClientRuntime.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System; using System.ServiceModel.Channels; using System.ServiceModel; using System.Collections.Generic; using System.Collections; using System.Reflection; using System.Runtime.Remoting.Messaging; using System.Transactions; using System.ServiceModel.Transactions; using AsyncResult = System.ServiceModel.AsyncResult; using System.Security; class ImmutableClientRuntime { int correlationCount; bool addTransactionFlowProperties; IInteractiveChannelInitializer[] interactiveChannelInitializers; IClientOperationSelector operationSelector; IChannelInitializer[] channelInitializers; IClientMessageInspector[] messageInspectors; Dictionaryoperations; ProxyOperationRuntime unhandled; bool useSynchronizationContext; private bool validateMustUnderstand; internal ImmutableClientRuntime(ClientRuntime behavior) { this.channelInitializers = EmptyArray .ToArray(behavior.ChannelInitializers); this.interactiveChannelInitializers = EmptyArray .ToArray(behavior.InteractiveChannelInitializers); this.messageInspectors = EmptyArray .ToArray(behavior.MessageInspectors); this.operationSelector = behavior.OperationSelector; this.useSynchronizationContext = behavior.UseSynchronizationContext; this.validateMustUnderstand = behavior.ValidateMustUnderstand; this.unhandled = new ProxyOperationRuntime(behavior.UnhandledClientOperation, this); this.addTransactionFlowProperties = behavior.AddTransactionFlowProperties; this.operations = new Dictionary (); for (int i=0; i (result); } } } } // 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
- safex509handles.cs
- FileRegion.cs
- ScriptBehaviorDescriptor.cs
- TTSVoice.cs
- DispatcherSynchronizationContext.cs
- DateTimeOffsetAdapter.cs
- URI.cs
- ShaderEffect.cs
- StatusBarAutomationPeer.cs
- HtmlHistory.cs
- TransformerConfigurationWizardBase.cs
- PermissionSet.cs
- HttpCapabilitiesSectionHandler.cs
- Message.cs
- MarkupCompilePass1.cs
- SmtpClient.cs
- DependencyObject.cs
- PrivacyNoticeElement.cs
- XmlSchemaAny.cs
- TextTreeObjectNode.cs
- WebPartTransformer.cs
- CompositeCollectionView.cs
- TableStyle.cs
- Math.cs
- ItemList.cs
- StateMachineSubscription.cs
- ConfigurationPropertyAttribute.cs
- ResXResourceReader.cs
- StaticFileHandler.cs
- PopupEventArgs.cs
- WebPartCatalogAddVerb.cs
- XmlNavigatorFilter.cs
- ComboBoxItem.cs
- CodePageUtils.cs
- LogSwitch.cs
- DataServiceRequest.cs
- ObjectTag.cs
- SecureStringHasher.cs
- CompilerWrapper.cs
- DesignerToolboxInfo.cs
- HyperLinkDataBindingHandler.cs
- CallInfo.cs
- CompositeScriptReferenceEventArgs.cs
- PeerServiceMessageContracts.cs
- RealizationContext.cs
- Sentence.cs
- TaskForm.cs
- LinkClickEvent.cs
- SafeLibraryHandle.cs
- FrameworkName.cs
- CollectionViewGroupInternal.cs
- RegionInfo.cs
- Rect.cs
- UnsafeNativeMethods.cs
- FixedStringLookup.cs
- PrinterUnitConvert.cs
- ServiceParser.cs
- SingleResultAttribute.cs
- ThrowHelper.cs
- DispatchChannelSink.cs
- VirtualPathUtility.cs
- DataGridViewRowConverter.cs
- ActivityDesignerHighlighter.cs
- ViewGenResults.cs
- HotCommands.cs
- SEHException.cs
- RNGCryptoServiceProvider.cs
- ReferenceConverter.cs
- DataGridViewCheckBoxColumn.cs
- AuditLogLocation.cs
- WindowShowOrOpenTracker.cs
- ComponentResourceKeyConverter.cs
- DataGridColumnEventArgs.cs
- EasingQuaternionKeyFrame.cs
- SqlStream.cs
- tooltip.cs
- IdentityValidationException.cs
- XmlAttributeCache.cs
- SignedXml.cs
- Pen.cs
- StorageMappingItemCollection.cs
- EntityDataSourceEntityTypeFilterItem.cs
- EntityDataSourceStatementEditor.cs
- CryptoStream.cs
- SignedInfo.cs
- CopyAction.cs
- DataTablePropertyDescriptor.cs
- ApplicationActivator.cs
- ServiceDurableInstance.cs
- EventMappingSettings.cs
- TextMetrics.cs
- PipelineModuleStepContainer.cs
- TypeDependencyAttribute.cs
- NoneExcludedImageIndexConverter.cs
- SecurityVerifiedMessage.cs
- ChangePassword.cs
- ProviderConnectionPoint.cs
- ClientTargetSection.cs
- InfoCardRSACryptoProvider.cs
- InternalCache.cs