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
- SHA256.cs
- VisualStyleTypesAndProperties.cs
- ConfigurationElementProperty.cs
- Condition.cs
- TextBoxAutomationPeer.cs
- RemoteHelper.cs
- MobileFormsAuthentication.cs
- JpegBitmapEncoder.cs
- UInt16Storage.cs
- CodeAccessPermission.cs
- PaintEvent.cs
- MetadataPropertyvalue.cs
- WhitespaceReader.cs
- MatcherBuilder.cs
- CodeDirectiveCollection.cs
- ParserStreamGeometryContext.cs
- GZipStream.cs
- DefaultCommandExtensionCallback.cs
- TextProviderWrapper.cs
- InstanceStoreQueryResult.cs
- ObjectListDataBindEventArgs.cs
- LabelLiteral.cs
- _SafeNetHandles.cs
- WizardStepBase.cs
- SQLMembershipProvider.cs
- SharedDp.cs
- PropertyManager.cs
- CheckedListBox.cs
- TextBox.cs
- RadioButtonFlatAdapter.cs
- CharStorage.cs
- ThaiBuddhistCalendar.cs
- MethodToken.cs
- LineSegment.cs
- TreeNodeCollection.cs
- MatrixValueSerializer.cs
- FrameworkTemplate.cs
- QueryStringParameter.cs
- Rfc2898DeriveBytes.cs
- AgileSafeNativeMemoryHandle.cs
- SafeBitVector32.cs
- WorkflowPrinting.cs
- SiteMapDataSource.cs
- SuppressMergeCheckAttribute.cs
- arabicshape.cs
- TcpHostedTransportConfiguration.cs
- SchemaDeclBase.cs
- OdbcInfoMessageEvent.cs
- TypeBuilder.cs
- ProviderException.cs
- FileNameEditor.cs
- CryptoStream.cs
- Calendar.cs
- QueuePathEditor.cs
- ToolStripContainer.cs
- SoapEnumAttribute.cs
- WebPartActionVerb.cs
- StructuredTypeEmitter.cs
- InternalPermissions.cs
- GenericTextProperties.cs
- SatelliteContractVersionAttribute.cs
- RoleService.cs
- NotEqual.cs
- PreProcessor.cs
- HtmlObjectListAdapter.cs
- ProxyGenerationError.cs
- SoapParser.cs
- StringBlob.cs
- panel.cs
- ActivityCollectionMarkupSerializer.cs
- TabPage.cs
- UserControlCodeDomTreeGenerator.cs
- ThousandthOfEmRealPoints.cs
- RelationshipEndMember.cs
- NavigationWindow.cs
- PropagatorResult.cs
- WindowsListViewGroup.cs
- ContractReference.cs
- UpdateTranslator.cs
- SoapIgnoreAttribute.cs
- Opcode.cs
- SHA1Cng.cs
- TextLine.cs
- ReplacementText.cs
- SchemaHelper.cs
- BasicHttpSecurity.cs
- FileDialogPermission.cs
- CodeEventReferenceExpression.cs
- Span.cs
- configsystem.cs
- SelectionPattern.cs
- FileEnumerator.cs
- IssuanceLicense.cs
- ValidatingCollection.cs
- HttpCacheVaryByContentEncodings.cs
- WebPartRestoreVerb.cs
- InstanceContext.cs
- Drawing.cs
- AppDomainAttributes.cs
- Attributes.cs