8 instantiations of FaultDetail
System.ServiceModel.Primitives.Tests (7)
Channels\MessageTest.cs (1)
86
object faultDetail = new
FaultDetail
("fault details");
ServiceModel\FaultExceptionTest.cs (6)
19
var detail = new
FaultDetail
("Fault Message");
48
dcs.WriteObject(ms, new FaultException<FaultDetail>(new
FaultDetail
("Fault Message")));
104
var detail = new
FaultDetail
("Fault message");
130
var detail = new
FaultDetail
("Fault message");
154
var detail = new
FaultDetail
("Fault message");
180
var detail = new
FaultDetail
("Fault message");
UnitTests.Common (1)
TestTypes.cs (1)
708
new
FaultDetail
("Throwing a Fault Exception from the Callback method."),
26 references to FaultDetail
System.ServiceModel.Primitives.Tests (23)
Channels\MessageTest.cs (3)
108
var
msgFDetail = msgFault.GetDetail<
FaultDetail
>();
110
Assert.Equal(((
FaultDetail
)faultDetail).Message, msgFDetail.Message);
ServiceModel\FaultExceptionTest.cs (20)
19
var
detail = new FaultDetail("Fault Message");
21
var exception = new FaultException<
FaultDetail
>(detail, reason);
29
FaultDetail
nullDetail = null;
31
var exception2 = new FaultException<
FaultDetail
>(nullDetail, nullReason);
43
var dcs = new DataContractSerializer(typeof(FaultException<
FaultDetail
>));
48
dcs.WriteObject(ms, new FaultException<
FaultDetail
>(new FaultDetail("Fault Message")));
52
var faultException = (FaultException<
FaultDetail
>)dcs.ReadObject(ms);
104
var
detail = new FaultDetail("Fault message");
107
var exception = new FaultException<
FaultDetail
>(detail, reason, code);
117
exception = new FaultException<
FaultDetail
> (null,(FaultReason)null,null);
130
var
detail = new FaultDetail("Fault message");
132
var exception = new FaultException<
FaultDetail
>(detail, reason);
140
exception = new FaultException<
FaultDetail
>(null, string.Empty);
154
var
detail = new FaultDetail("Fault message");
157
var exception = new FaultException<
FaultDetail
>(detail, reason, code);
167
exception = new FaultException<
FaultDetail
>(null, (string)null, null);
180
var
detail = new FaultDetail("Fault message");
184
var exception = new FaultException<
FaultDetail
>(detail, reason, code, action);
190
Assert.IsType<FaultException<
FaultDetail
>>(exception);
199
exception = 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)
707
throw new FaultException<
FaultDetail
>(