internal Message ProvideFault(MessageVersion messageVersion) { WSAddressing10ProblemHeaderQNameFault fault = new WSAddressing10ProblemHeaderQNameFault(this); Message message = Message.CreateMessage(messageVersion, fault, messageVersion.Addressing.FaultAction); fault.AddHeaders(message.Headers); return message; }
internal Message ProvideFault(MessageVersion messageVersion) { WSAddressing10ProblemHeaderQNameFault fault = new WSAddressing10ProblemHeaderQNameFault(this); Message message = Message.CreateMessage(messageVersion, fault, AddressingVersion.WSAddressing10.FaultAction); fault.AddHeaders(message.Headers); return(message); }
internal Message ProvideFault(MessageVersion messageVersion) { Fx.Assert(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; }
internal Message ProvideFault(MessageVersion messageVersion) { Fx.Assert(messageVersion.Addressing == AddressingVersion.WSAddressing10, ""); WSAddressing10ProblemHeaderQNameFault phf = new WSAddressing10ProblemHeaderQNameFault(this); Message message = System.ServiceModel.Channels.Message.CreateMessage(messageVersion, phf, AddressingVersion.WSAddressing10.FaultAction); phf.AddHeaders(message.Headers); return(message); }