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
- UnSafeCharBuffer.cs
- SmtpMail.cs
- XXXInfos.cs
- CodeDomDesignerLoader.cs
- WebFaultClientMessageInspector.cs
- SignedPkcs7.cs
- assemblycache.cs
- CLSCompliantAttribute.cs
- DependentList.cs
- UnsafeNetInfoNativeMethods.cs
- ApplicationServiceManager.cs
- HtmlHistory.cs
- DecoderExceptionFallback.cs
- PathTooLongException.cs
- LockCookie.cs
- CallTemplateAction.cs
- FontFaceLayoutInfo.cs
- GenericPrincipal.cs
- ProfileSection.cs
- CssClassPropertyAttribute.cs
- NamedElement.cs
- SafeLocalAllocation.cs
- AuditLog.cs
- NTAccount.cs
- MyContact.cs
- CanonicalFormWriter.cs
- XPathBuilder.cs
- DataContract.cs
- BookmarkInfo.cs
- TextElementAutomationPeer.cs
- BypassElement.cs
- UidManager.cs
- CustomAttribute.cs
- ToggleButton.cs
- MatrixCamera.cs
- Underline.cs
- WizardStepBase.cs
- MatrixTransform3D.cs
- SaveFileDialog.cs
- HitTestWithPointDrawingContextWalker.cs
- prompt.cs
- ExceptionHandler.cs
- UrlMapping.cs
- MemberRelationshipService.cs
- MetadataItemEmitter.cs
- OperationDescriptionCollection.cs
- DefaultPropertyAttribute.cs
- ExtensionQuery.cs
- WebScriptMetadataInstanceContextProvider.cs
- WebBrowserDocumentCompletedEventHandler.cs
- MemberAccessException.cs
- IFlowDocumentViewer.cs
- NotificationContext.cs
- ModelVisual3D.cs
- PermissionAttributes.cs
- GridViewRowEventArgs.cs
- GridViewCancelEditEventArgs.cs
- KeySplineConverter.cs
- Size.cs
- HttpWebRequest.cs
- DataGridPageChangedEventArgs.cs
- UnmanagedHandle.cs
- TargetParameterCountException.cs
- GlobalItem.cs
- DiscoveryDocument.cs
- ProfileParameter.cs
- SQLInt64.cs
- ManifestResourceInfo.cs
- PreviewPageInfo.cs
- RNGCryptoServiceProvider.cs
- WebPartManagerDesigner.cs
- SafeWaitHandle.cs
- AttributeCollection.cs
- PropertyGridDesigner.cs
- TerminatorSinks.cs
- NamespaceQuery.cs
- ContainerSelectorBehavior.cs
- FormatException.cs
- xmlfixedPageInfo.cs
- NavigationFailedEventArgs.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- TableLayoutSettings.cs
- SymmetricCryptoHandle.cs
- ActiveDocumentEvent.cs
- ColumnClickEvent.cs
- ImportCatalogPart.cs
- DoubleSumAggregationOperator.cs
- VideoDrawing.cs
- ClientBuildManager.cs
- CompiledRegexRunnerFactory.cs
- BoolExpression.cs
- ElementFactory.cs
- OleDbParameter.cs
- RunWorkerCompletedEventArgs.cs
- OrderedDictionary.cs
- ForwardPositionQuery.cs
- WindowsUpDown.cs
- RadioButton.cs
- Span.cs
- BevelBitmapEffect.cs