45 references to FaultCodeConstants
System.ServiceModel (45)
System\ServiceModel\Channels\SecurityBindingElement.cs (4)
866
result.IncomingSignatureParts.AddParts(signedParts,
FaultCodeConstants
.Actions.NetDispatcher);
867
result.OutgoingSignatureParts.AddParts(signedParts,
FaultCodeConstants
.Actions.NetDispatcher);
868
result.IncomingEncryptionParts.AddParts(encryptedParts,
FaultCodeConstants
.Actions.NetDispatcher);
869
result.OutgoingEncryptionParts.AddParts(encryptedParts,
FaultCodeConstants
.Actions.NetDispatcher);
System\ServiceModel\Channels\ServiceChannel.cs (6)
1114
if (string.Compare(code.Namespace,
FaultCodeConstants
.Namespaces.NetDispatch, StringComparison.Ordinal) == 0)
1116
if (string.Compare(code.Name,
FaultCodeConstants
.Codes.SessionTerminated, StringComparison.Ordinal) == 0)
1121
if (string.Compare(code.Name,
FaultCodeConstants
.Codes.TransactionAborted, StringComparison.Ordinal) == 0)
1139
if (string.Compare(code.Namespace,
FaultCodeConstants
.Namespaces.NetDispatch, StringComparison.Ordinal) == 0)
1141
if (string.Compare(code.Name,
FaultCodeConstants
.Codes.InternalServiceFault, StringComparison.Ordinal) == 0)
1154
if (string.Compare(code.Name,
FaultCodeConstants
.Codes.DeserializationFailed, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\TransactionChannel.cs (5)
100
FaultCode code = FaultCode.CreateSenderFaultCode(codeString,
FaultCodeConstants
.Namespaces.Transactions);
101
FaultException fault = new FaultException(reason, code,
FaultCodeConstants
.Actions.Transactions);
120
FaultOnMessage(message, SR.GetString(SR.IssuedTokenFlowNotAllowed),
FaultCodeConstants
.Codes.IssuedTokenFlowNotAllowed);
140
FaultOnMessage(message, SR.GetString(SR.SFxTransactionDeserializationFailed, e.Message),
FaultCodeConstants
.Codes.TransactionHeaderMalformed);
149
FaultOnMessage(message, SR.GetString(SR.SFxTransactionFlowRequired),
FaultCodeConstants
.Codes.TransactionHeaderMissing);
System\ServiceModel\Channels\TransactionChannelFaultConverter.cs (1)
23
if (message.Headers.Action ==
FaultCodeConstants
.Actions.Transactions)
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (2)
353
requirements.OutgoingSignatureParts.AddParts(body,
FaultCodeConstants
.Actions.Transactions);
354
requirements.OutgoingEncryptionParts.AddParts(body,
FaultCodeConstants
.Actions.Transactions);
System\ServiceModel\Dispatcher\ChannelHandler.cs (3)
1188
FaultCode code = FaultCode.CreateSenderFaultCode(
FaultCodeConstants
.Codes.SessionTerminated,
1189
FaultCodeConstants
.Namespaces.NetDispatch);
1191
string action =
FaultCodeConstants
.Actions.NetDispatcher;
System\ServiceModel\Dispatcher\ErrorBehavior.cs (5)
78
FaultCode code = new FaultCode(
FaultCodeConstants
.Codes.InternalServiceFault,
FaultCodeConstants
.Namespaces.NetDispatch);
80
string action =
FaultCodeConstants
.Actions.NetDispatcher;
100
string.Compare(e.Fault.Code.SubCode.Namespace,
FaultCodeConstants
.Namespaces.NetDispatch, StringComparison.Ordinal) == 0 &&
101
string.Compare(e.Fault.Code.SubCode.Name,
FaultCodeConstants
.Codes.InternalServiceFault, StringComparison.Ordinal) == 0)
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
182
faultContractInfos.Add(new FaultContractInfo(
FaultCodeConstants
.Actions.NetDispatcher, typeof(ExceptionDetail)));
System\ServiceModel\Dispatcher\NetDispatcherFaultException.cs (2)
13
: base(reason, code,
FaultCodeConstants
.Actions.NetDispatcher, innerException)
17
: base(reason, code,
FaultCodeConstants
.Actions.NetDispatcher, innerException)
System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
543
FaultCode code = new FaultCode(
FaultCodeConstants
.Codes.DeserializationFailed,
FaultCodeConstants
.Namespaces.NetDispatch);
System\ServiceModel\Dispatcher\TransactionBehavior.cs (14)
57
faultCodeNamespace =
FaultCodeConstants
.Namespaces.NetDispatch;
58
action =
FaultCodeConstants
.Actions.NetDispatcher;
62
faultCodeNamespace =
FaultCodeConstants
.Namespaces.Transactions;
63
action =
FaultCodeConstants
.Actions.Transactions;
211
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionUnmarshalFailed, e.Message),
FaultCodeConstants
.Codes.TransactionUnmarshalingFailed, false));
266
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted),
FaultCodeConstants
.Codes.TransactionAborted, true));
322
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted),
FaultCodeConstants
.Codes.TransactionAborted, true));
365
(SR.GetString(SR.IsolationLevelMismatch2, transaction.IsolationLevel, this.isolation),
FaultCodeConstants
.Codes.TransactionIsolationLevelMismatch, false), rpc.Request);
386
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted),
FaultCodeConstants
.Codes.TransactionAborted, true));
599
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted),
FaultCodeConstants
.Codes.TransactionAborted, true));
671
rpc.Error = TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted),
FaultCodeConstants
.Codes.TransactionAborted, true);
739
rpc.Error = TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted),
FaultCodeConstants
.Codes.TransactionAborted, true);
798
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted),
FaultCodeConstants
.Codes.TransactionAborted, true));
823
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted),
FaultCodeConstants
.Codes.TransactionAborted, true));