8 instantiations of FaultDetail
System.ServiceModel.Primitives.Tests (7)
Channels\MessageTest.cs (1)
86object faultDetail = new FaultDetail("fault details");
ServiceModel\FaultExceptionTest.cs (6)
19var detail = new FaultDetail("Fault Message"); 48dcs.WriteObject(ms, new FaultException<FaultDetail>(new FaultDetail("Fault Message"))); 104var detail = new FaultDetail("Fault message"); 130var detail = new FaultDetail("Fault message"); 154var detail = new FaultDetail("Fault message"); 180var detail = new FaultDetail("Fault message");
UnitTests.Common (1)
TestTypes.cs (1)
708new FaultDetail("Throwing a Fault Exception from the Callback method."),
26 references to FaultDetail
System.ServiceModel.Primitives.Tests (23)
Channels\MessageTest.cs (3)
108var msgFDetail = msgFault.GetDetail<FaultDetail>(); 110Assert.Equal(((FaultDetail)faultDetail).Message, msgFDetail.Message);
ServiceModel\FaultExceptionTest.cs (20)
19var detail = new FaultDetail("Fault Message"); 21var exception = new FaultException<FaultDetail>(detail, reason); 29FaultDetail nullDetail = null; 31var exception2 = new FaultException<FaultDetail>(nullDetail, nullReason); 43var dcs = new DataContractSerializer(typeof(FaultException<FaultDetail>)); 48dcs.WriteObject(ms, new FaultException<FaultDetail>(new FaultDetail("Fault Message"))); 52var faultException = (FaultException<FaultDetail>)dcs.ReadObject(ms); 104var detail = new FaultDetail("Fault message"); 107var exception = new FaultException<FaultDetail>(detail, reason, code); 117exception = new FaultException<FaultDetail> (null,(FaultReason)null,null); 130var detail = new FaultDetail("Fault message"); 132var exception = new FaultException<FaultDetail>(detail, reason); 140exception = new FaultException<FaultDetail>(null, string.Empty); 154var detail = new FaultDetail("Fault message"); 157var exception = new FaultException<FaultDetail>(detail, reason, code); 167exception = new FaultException<FaultDetail>(null, (string)null, null); 180var detail = new FaultDetail("Fault message"); 184var exception = new FaultException<FaultDetail>(detail, reason, code, action); 190Assert.IsType<FaultException<FaultDetail>>(exception); 199exception = new FaultException<FaultDetail>(null, string.Empty, null, null);
UnitTests.Common (3)
ServiceInterfaces.cs (2)
33[FaultContract(typeof(FaultDetail), Action = "http://tempuri.org/IWcfService/TestFaultFaultDetailFault", Name = "FaultDetail", Namespace = "http://www.contoso.com/wcfnamespace")] 196[FaultContract(typeof(FaultDetail), Name = "FaultDetail")]
TestTypes.cs (1)
707throw new FaultException<FaultDetail>(