Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx35 / System.WorkflowServices / System / ServiceModel / Activities / ExternalDataExchangeClient.cs / 1305376 / ExternalDataExchangeClient.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Activities { using System.Runtime; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.Workflow.Activities; class ExternalDataExchangeClient : ClientBase{ public ExternalDataExchangeClient(Binding binding, EndpointAddress address) : base(binding, address) { ContractDescription contractDescription = this.Endpoint.Contract; foreach (OperationDescription opDesc in contractDescription.Operations) { NetDataContractSerializerOperationBehavior netDataContractSerializerOperationBehavior = NetDataContractSerializerOperationBehavior.ApplyTo(opDesc); Fx.Assert(netDataContractSerializerOperationBehavior != null, "IExternalDataExchange must use NetDataContractSerializer."); } } public void RaiseEvent(ExternalDataEventArgs eventArgs, IComparable queueName, object message) { base.Channel.RaiseEvent(eventArgs, queueName, message); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TypeConverterHelper.cs
- Msec.cs
- X509Certificate2Collection.cs
- HwndMouseInputProvider.cs
- FileCodeGroup.cs
- CachedTypeface.cs
- NativeMethods.cs
- Delay.cs
- ChannelCacheSettings.cs
- WinFormsUtils.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- Validator.cs
- DataKeyPropertyAttribute.cs
- Path.cs
- InternalBufferOverflowException.cs
- TableLayoutPanel.cs
- XmlSchemaGroupRef.cs
- HttpCookiesSection.cs
- HttpRequestCacheValidator.cs
- ObjectRef.cs
- SoapExtensionReflector.cs
- SqlSupersetValidator.cs
- TextInfo.cs
- Visitor.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- InheritablePropertyChangeInfo.cs
- SmiConnection.cs
- DragDeltaEventArgs.cs
- GroupStyle.cs
- HtmlControl.cs
- StringInfo.cs
- LineProperties.cs
- IntellisenseTextBox.cs
- ColorConverter.cs
- Splitter.cs
- SafeTimerHandle.cs
- ErrorsHelper.cs
- XamlStyleSerializer.cs
- FontInfo.cs
- Matrix3DConverter.cs
- Visual3DCollection.cs
- ScaleTransform.cs
- TextBoxBase.cs
- MiniLockedBorderGlyph.cs
- ProcessModuleCollection.cs
- RectAnimationBase.cs
- EastAsianLunisolarCalendar.cs
- WebConfigurationFileMap.cs
- MobileUserControlDesigner.cs
- SR.cs
- DataGridCommandEventArgs.cs
- OletxEnlistment.cs
- UnauthorizedAccessException.cs
- SqlRetyper.cs
- HMACMD5.cs
- DbExpressionVisitor.cs
- diagnosticsswitches.cs
- Boolean.cs
- ValidationHelper.cs
- ExecutionContext.cs
- ECDiffieHellmanCng.cs
- ArgumentOutOfRangeException.cs
- RuleRefElement.cs
- PerformanceCounterNameAttribute.cs
- HealthMonitoringSectionHelper.cs
- DataListItemEventArgs.cs
- SafeNativeMethods.cs
- LostFocusEventManager.cs
- AtomicFile.cs
- NativeRecognizer.cs
- XmlSchemaElement.cs
- EventBuilder.cs
- BezierSegment.cs
- TextReader.cs
- AppDomainAttributes.cs
- AccessedThroughPropertyAttribute.cs
- BamlTreeMap.cs
- HttpContextBase.cs
- EpmSourcePathSegment.cs
- DataException.cs
- SwitchAttribute.cs
- NavigationPropertyAccessor.cs
- InternalConfigRoot.cs
- TextEditorDragDrop.cs
- DataGridTextBoxColumn.cs
- InsufficientMemoryException.cs
- DifferencingCollection.cs
- OraclePermissionAttribute.cs
- SHA1Cng.cs
- WebPartCancelEventArgs.cs
- MultipartContentParser.cs
- BuildManagerHost.cs
- Utils.cs
- RelatedView.cs
- CodeCommentStatementCollection.cs
- ComplusTypeValidator.cs
- OdbcErrorCollection.cs
- HtmlInputText.cs
- Storyboard.cs
- ListenerElementsCollection.cs