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
- Security.cs
- EventProperty.cs
- ClientUtils.cs
- DelegateSerializationHolder.cs
- ProxyGenerationError.cs
- XmlTextAttribute.cs
- SetterBase.cs
- BaseInfoTable.cs
- DataServiceProcessingPipeline.cs
- ImageSource.cs
- ObjectSet.cs
- GACIdentityPermission.cs
- Environment.cs
- Attributes.cs
- KeyToListMap.cs
- HttpCacheVary.cs
- BookmarkCallbackWrapper.cs
- ArraySegment.cs
- EmptyControlCollection.cs
- ListDictionaryInternal.cs
- Rotation3DAnimationBase.cs
- FacetDescriptionElement.cs
- CodeTypeMemberCollection.cs
- GiveFeedbackEvent.cs
- ButtonBase.cs
- FunctionParameter.cs
- WindowsComboBox.cs
- DataFormats.cs
- StackOverflowException.cs
- ColumnWidthChangedEvent.cs
- DBSchemaTable.cs
- regiisutil.cs
- KernelTypeValidation.cs
- CodeRegionDirective.cs
- ImageConverter.cs
- ScalarConstant.cs
- JsonSerializer.cs
- RuleCache.cs
- EditorBrowsableAttribute.cs
- DataControlExtensions.cs
- XhtmlTextWriter.cs
- AssemblyBuilder.cs
- StylusPointPropertyInfoDefaults.cs
- DesignerContextDescriptor.cs
- TextEditorSelection.cs
- SpeakCompletedEventArgs.cs
- ConnectionInterfaceCollection.cs
- AutomationPropertyChangedEventArgs.cs
- PkcsMisc.cs
- SolidColorBrush.cs
- ReliableSessionBindingElement.cs
- CookieParameter.cs
- MULTI_QI.cs
- ResourceAssociationSetEnd.cs
- WsatTransactionInfo.cs
- StandardCommands.cs
- TextEditorDragDrop.cs
- ADMembershipProvider.cs
- XmlSchemaInfo.cs
- ListGeneralPage.cs
- uribuilder.cs
- SqlDependencyUtils.cs
- Floater.cs
- SecurityCriticalDataForSet.cs
- EventSinkHelperWriter.cs
- Rfc2898DeriveBytes.cs
- Shape.cs
- TailCallAnalyzer.cs
- DataListItemCollection.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- SettingsBase.cs
- CompModSwitches.cs
- streamingZipPartStream.cs
- RegexRunner.cs
- securitymgrsite.cs
- arclist.cs
- SimpleRecyclingCache.cs
- Pair.cs
- HwndSourceParameters.cs
- LocatorBase.cs
- MSG.cs
- CaseExpr.cs
- Encoder.cs
- Int32EqualityComparer.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- JoinTreeNode.cs
- mansign.cs
- BamlResourceDeserializer.cs
- WrappedReader.cs
- ContainerActivationHelper.cs
- SslStreamSecurityUpgradeProvider.cs
- TableItemProviderWrapper.cs
- CreateUserErrorEventArgs.cs
- GridViewAutoFormat.cs
- New.cs
- TransformDescriptor.cs
- RtfToXamlReader.cs
- EntityUtil.cs
- FileCodeGroup.cs
- DataGridViewMethods.cs