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
- BamlLocalizationDictionary.cs
- AsymmetricKeyExchangeFormatter.cs
- CqlLexer.cs
- CachedBitmap.cs
- shaperfactoryquerycachekey.cs
- UserPreferenceChangingEventArgs.cs
- DefaultSection.cs
- PriorityBinding.cs
- FlowDocumentView.cs
- BindingWorker.cs
- ColumnMap.cs
- UniqueIdentifierService.cs
- DefaultPrintController.cs
- ConditionalExpression.cs
- ProxyGenerator.cs
- XamlStackWriter.cs
- DataViewManager.cs
- InvalidEnumArgumentException.cs
- DecimalConverter.cs
- StructuralType.cs
- SafeSystemMetrics.cs
- ConfigurationLockCollection.cs
- SafeNativeMethods.cs
- HttpProcessUtility.cs
- Rules.cs
- GACMembershipCondition.cs
- IListConverters.cs
- OrderedDictionary.cs
- CompModSwitches.cs
- MailAddress.cs
- AddToCollection.cs
- XmlDictionaryReaderQuotas.cs
- HMACSHA256.cs
- WebCategoryAttribute.cs
- GroupDescription.cs
- ServiceDescriptionImporter.cs
- XdrBuilder.cs
- FileDialogCustomPlaces.cs
- MediaContext.cs
- CombinedHttpChannel.cs
- UICuesEvent.cs
- Point3DCollectionValueSerializer.cs
- StreamAsIStream.cs
- RegisteredArrayDeclaration.cs
- ManagementOperationWatcher.cs
- WindowsToolbar.cs
- XmlLanguage.cs
- FileUpload.cs
- WindowsGraphicsWrapper.cs
- AppDomainUnloadedException.cs
- RepeaterItemCollection.cs
- CatalogPartCollection.cs
- Form.cs
- RijndaelManaged.cs
- ConfigXmlElement.cs
- SelectedGridItemChangedEvent.cs
- XPathParser.cs
- SmiConnection.cs
- TrackingDataItemValue.cs
- ResourceDescriptionAttribute.cs
- AstNode.cs
- NameSpaceExtractor.cs
- _SingleItemRequestCache.cs
- PrintEvent.cs
- ImageMapEventArgs.cs
- ImportCatalogPart.cs
- ViewStateChangedEventArgs.cs
- PrinterResolution.cs
- Attributes.cs
- DesignerPainter.cs
- WebEventCodes.cs
- SettingsAttributes.cs
- HttpHostedTransportConfiguration.cs
- ObjectStateEntry.cs
- CollectionChangeEventArgs.cs
- DynamicQueryStringParameter.cs
- LogAppendAsyncResult.cs
- SerializableAttribute.cs
- Label.cs
- UiaCoreTypesApi.cs
- DependencyObjectProvider.cs
- MissingFieldException.cs
- ConfigurationException.cs
- CodePrimitiveExpression.cs
- WindowsListViewSubItem.cs
- CorrelationExtension.cs
- WorkflowApplicationCompletedEventArgs.cs
- TextDecorations.cs
- Executor.cs
- Slider.cs
- RefType.cs
- HTTPNotFoundHandler.cs
- ToolStripItemImageRenderEventArgs.cs
- PropertyManager.cs
- CompositeCollection.cs
- WpfXamlType.cs
- RunInstallerAttribute.cs
- CodeTypeParameter.cs
- EventMappingSettingsCollection.cs
- ProtectedProviderSettings.cs