2 writes to SerializerOption
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Receive.cs (2)
516
receiveActivity.
SerializerOption
= SerializerOption.XmlSerializer;
520
receiveActivity.
SerializerOption
= SerializerOption.DataContractSerializer;
7 references to SerializerOption
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\ContractInferenceHelper.cs (1)
326
AddSerializerProvider(operation, receive.
SerializerOption
);
System\ServiceModel\Activities\ReceiveMessageContent.cs (2)
161
serializerOption = receive.
SerializerOption
;
197
serializerOption = receive.
SerializerOption
;
System\ServiceModel\Activities\SendMessageContent.cs (2)
183
serializerOption = sendReply.Request.
SerializerOption
;
225
serializerOption = sendReply.Request.
SerializerOption
;
System\ServiceModel\Activities\WorkflowService.cs (2)
1142
if (receiveActivity.
SerializerOption
!= targetSerializerOption)
1144
Constraint.AddValidationError(context, new ValidationError(SR.PropertyMismatch(receiveActivity.
SerializerOption
.ToString(), "SerializerOption", targetSerializerOption.ToString(), targetOperation.DeclaringContract.Name, targetSerializerOption.ToString())));