Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / ActionMismatchAddressingException.cs / 1 / ActionMismatchAddressingException.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel { using System; using System.ServiceModel.Channels; using System.Runtime.Serialization; [Serializable] internal class ActionMismatchAddressingException : ProtocolException { string httpActionHeader; string soapActionHeader; public ActionMismatchAddressingException(string message, string soapActionHeader, string httpActionHeader) : base(message) { this.httpActionHeader = httpActionHeader; this.soapActionHeader = soapActionHeader; } protected ActionMismatchAddressingException(SerializationInfo info, StreamingContext context) : base(info, context) { } public string HttpActionHeader { get { return httpActionHeader; } } public string SoapActionHeader { get { return soapActionHeader; } } internal Message ProvideFault(MessageVersion messageVersion) { DiagnosticUtility.DebugAssert(messageVersion.Addressing == AddressingVersion.WSAddressing10, ""); WSAddressing10ProblemHeaderQNameFault phf = new WSAddressing10ProblemHeaderQNameFault(this); Message message = System.ServiceModel.Channels.Message.CreateMessage(messageVersion, phf, messageVersion.Addressing.FaultAction); phf.AddHeaders(message.Headers); return message; } } } // 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
- Profiler.cs
- MethodRental.cs
- FontSource.cs
- __Filters.cs
- TextEditorContextMenu.cs
- BooleanToVisibilityConverter.cs
- EmptyEnumerable.cs
- CompilationUtil.cs
- InheritanceAttribute.cs
- XmlLanguage.cs
- InlineCategoriesDocument.cs
- Subtract.cs
- StdValidatorsAndConverters.cs
- CodeEntryPointMethod.cs
- TreeNodeBindingCollection.cs
- GeneralTransform3DGroup.cs
- FileDialog.cs
- ActivityStatusChangeEventArgs.cs
- PartialToken.cs
- BitStream.cs
- AuthenticationModulesSection.cs
- SqlDelegatedTransaction.cs
- ExpressionsCollectionConverter.cs
- COM2ComponentEditor.cs
- D3DImage.cs
- DesignTimeSiteMapProvider.cs
- Exceptions.cs
- CompositionTarget.cs
- CaseCqlBlock.cs
- ListViewTableCell.cs
- ExtendedProtectionPolicy.cs
- SourceCollection.cs
- NavigationHelper.cs
- DateTimeStorage.cs
- TextDecoration.cs
- processwaithandle.cs
- printdlgexmarshaler.cs
- TextPointer.cs
- UnsafeNativeMethods.cs
- WSSecurityJan2004.cs
- DurableInstance.cs
- AutomationElement.cs
- _AutoWebProxyScriptEngine.cs
- DataSysAttribute.cs
- Span.cs
- FilterElement.cs
- ToolboxItemSnapLineBehavior.cs
- ZipIOModeEnforcingStream.cs
- FileSecurity.cs
- PropertyMapper.cs
- QueryStringConverter.cs
- DesignBindingPropertyDescriptor.cs
- WSSecurityPolicy12.cs
- ForceCopyBuildProvider.cs
- httpserverutility.cs
- SamlAttributeStatement.cs
- AttachedPropertyBrowsableAttribute.cs
- ThrowHelper.cs
- Funcletizer.cs
- TdsParserSessionPool.cs
- ListenerConnectionDemuxer.cs
- GeometryConverter.cs
- DebugController.cs
- OpenFileDialog.cs
- InvalidCastException.cs
- AuthenticationModuleElementCollection.cs
- ConfigXmlAttribute.cs
- COM2AboutBoxPropertyDescriptor.cs
- ListViewItemSelectionChangedEvent.cs
- WebControlAdapter.cs
- HtmlButton.cs
- ChtmlCalendarAdapter.cs
- SourceFilter.cs
- InstanceOwner.cs
- HiddenField.cs
- PhysicalAddress.cs
- BuildDependencySet.cs
- HostingEnvironment.cs
- FacetDescriptionElement.cs
- EdmEntityTypeAttribute.cs
- XmlDataSourceView.cs
- AxisAngleRotation3D.cs
- ListViewUpdatedEventArgs.cs
- StreamUpdate.cs
- Nullable.cs
- StringFreezingAttribute.cs
- ReferencedType.cs
- UpdatePanelControlTrigger.cs
- TableChangeProcessor.cs
- FileDialogCustomPlacesCollection.cs
- codemethodreferenceexpression.cs
- CompilationRelaxations.cs
- FlowLayoutPanel.cs
- InternalControlCollection.cs
- SqlPersonalizationProvider.cs
- InvalidComObjectException.cs
- HttpPostedFile.cs
- DataGridViewHeaderCell.cs
- ActivityWithResultConverter.cs
- Module.cs