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
- XNodeNavigator.cs
- CompensationDesigner.cs
- NavigationService.cs
- Clause.cs
- UserControlCodeDomTreeGenerator.cs
- RemotingAttributes.cs
- TextEditor.cs
- SoapParser.cs
- xamlnodes.cs
- AssemblyResolver.cs
- SqlDeflator.cs
- NameGenerator.cs
- GlobalizationSection.cs
- StrongNameKeyPair.cs
- TypeReference.cs
- log.cs
- FontEmbeddingManager.cs
- XsltContext.cs
- MetadataImporter.cs
- DbgUtil.cs
- StrongNameKeyPair.cs
- OperationContextScope.cs
- ExpressionStringBuilder.cs
- ComplexBindingPropertiesAttribute.cs
- StateValidator.cs
- Stroke2.cs
- StylusButtonCollection.cs
- ToolBarButton.cs
- ListBase.cs
- DesignTimeSiteMapProvider.cs
- WindowAutomationPeer.cs
- ComponentSerializationService.cs
- DataTableReader.cs
- Add.cs
- Selector.cs
- ObjectHelper.cs
- Set.cs
- FileDataSourceCache.cs
- SignedXml.cs
- BulletedList.cs
- SectionVisual.cs
- WmlCalendarAdapter.cs
- ColumnWidthChangedEvent.cs
- SqlCachedBuffer.cs
- TableRow.cs
- BindingExpressionUncommonField.cs
- COM2ExtendedUITypeEditor.cs
- WebHeaderCollection.cs
- Operators.cs
- MetaTable.cs
- BoundColumn.cs
- SourceElementsCollection.cs
- SimpleNameService.cs
- VectorAnimation.cs
- InvokeGenerator.cs
- HttpRequest.cs
- DateRangeEvent.cs
- XmlSchemaElement.cs
- DbException.cs
- Empty.cs
- DoubleAnimation.cs
- ActiveXHelper.cs
- EncodingInfo.cs
- Size.cs
- odbcmetadatacolumnnames.cs
- ServerIdentity.cs
- UInt64Converter.cs
- DBSchemaRow.cs
- TransactionProxy.cs
- GetTokenRequest.cs
- COM2Enum.cs
- ResolveNameEventArgs.cs
- GroupQuery.cs
- EventWaitHandle.cs
- DesignerHelpers.cs
- DefaultEventAttribute.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- GZipStream.cs
- SapiRecoInterop.cs
- BinaryConverter.cs
- TcpProcessProtocolHandler.cs
- ProcessingInstructionAction.cs
- ToolBar.cs
- DefaultAsyncDataDispatcher.cs
- SocketElement.cs
- _ChunkParse.cs
- LinkDesigner.cs
- QueryReaderSettings.cs
- ClockGroup.cs
- MemberAccessException.cs
- FontDialog.cs
- PlacementWorkspace.cs
- CodeArrayIndexerExpression.cs
- CheckPair.cs
- ScrollViewer.cs
- Application.cs
- Freezable.cs
- WebSysDisplayNameAttribute.cs
- SyndicationPerson.cs
- SortExpressionBuilder.cs