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
- ApplicationServiceManager.cs
- KerberosTicketHashIdentifierClause.cs
- ThaiBuddhistCalendar.cs
- ProcessModelSection.cs
- Comparer.cs
- FragmentNavigationEventArgs.cs
- ContractMapping.cs
- ImplicitInputBrush.cs
- ActivityCodeDomSerializer.cs
- ClassDataContract.cs
- DataControlFieldCell.cs
- FontCacheUtil.cs
- RegexInterpreter.cs
- DtdParser.cs
- ResourcesChangeInfo.cs
- dbdatarecord.cs
- ToolboxItemAttribute.cs
- AsyncDataRequest.cs
- UpdateRecord.cs
- EncodingTable.cs
- DynamicEntity.cs
- TopClause.cs
- DynamicUpdateCommand.cs
- XPathDocumentBuilder.cs
- HandledEventArgs.cs
- DropDownHolder.cs
- ValidationSummary.cs
- ReceiveMessageRecord.cs
- AssociationTypeEmitter.cs
- mansign.cs
- ToolboxComponentsCreatingEventArgs.cs
- DocumentSchemaValidator.cs
- BitmapCodecInfo.cs
- CapacityStreamGeometryContext.cs
- AnnouncementEndpoint.cs
- HttpSysSettings.cs
- AssemblyInfo.cs
- PropertyDescriptorComparer.cs
- TemplatedMailWebEventProvider.cs
- ExeContext.cs
- PropertyValueChangedEvent.cs
- WebPartsSection.cs
- FixUp.cs
- SchemaCollectionPreprocessor.cs
- CellLabel.cs
- SimpleBitVector32.cs
- Viewport3DAutomationPeer.cs
- DomNameTable.cs
- TabItemWrapperAutomationPeer.cs
- TypeForwardedToAttribute.cs
- SourceInterpreter.cs
- Axis.cs
- _Semaphore.cs
- Int64AnimationBase.cs
- StandardCommands.cs
- Boolean.cs
- Point4D.cs
- SspiSecurityTokenParameters.cs
- WebPartTransformerAttribute.cs
- IPAddress.cs
- MemberJoinTreeNode.cs
- Point3DAnimationBase.cs
- XmlAtomicValue.cs
- MimeParameters.cs
- Renderer.cs
- MediaContext.cs
- ButtonBaseAdapter.cs
- PrincipalPermission.cs
- Converter.cs
- JsonFormatMapping.cs
- DispatchChannelSink.cs
- RuntimeHandles.cs
- ClientOperationFormatterProvider.cs
- BoolExpr.cs
- dtdvalidator.cs
- StringSorter.cs
- GridItem.cs
- GestureRecognitionResult.cs
- RepeatInfo.cs
- TraceEventCache.cs
- MenuItemStyleCollection.cs
- BasicHttpMessageSecurityElement.cs
- SymLanguageVendor.cs
- ImageSource.cs
- Int32CollectionConverter.cs
- NamedPermissionSet.cs
- XmlBindingWorker.cs
- ThrowOnMultipleAssignment.cs
- DockingAttribute.cs
- GenericTextProperties.cs
- ButtonChrome.cs
- PerformanceCounterManager.cs
- WebHeaderCollection.cs
- TransformCollection.cs
- DescriptionAttribute.cs
- EntityContainerAssociationSet.cs
- EndpointFilterProvider.cs
- FindCompletedEventArgs.cs
- DataGridViewCellStyleBuilderDialog.cs
- objectresult_tresulttype.cs