51 instantiations of WorkflowMarkupSerializationException
System.Workflow.ComponentModel (51)
AuthoringOM\Design\Themes.cs (1)
737
((IDesignerSerializationManager)serializationManager).ReportError(new
WorkflowMarkupSerializationException
(DR.GetString(DR.ThemeTypesMismatch, new object[] { themeAttrib.DesignerThemeType.FullName, designerTheme.GetType().FullName })));
AuthoringOM\Design\XomlDesignerLoader.cs (5)
319
errors.Add(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_LayoutDeserialization), e));
330
errors.Add(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_LayoutSerializationPersistenceSupport)));
335
errors.Add(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_LayoutSerializationRootDesignerNotFound)));
364
errors.Add(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_LayoutSerialization), e));
375
errors.Add(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_LayoutSerializationPersistenceSupport)));
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (3)
110
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNotAvailable, serializableProperty.PropertyType.FullName)));
152
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNoSerializeLogic, new object[] { serializableProperty.Name, value.GetType().FullName })));
158
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNoSerializeLogic, new object[] { serializableProperty.Name, value.GetType().FullName })));
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
77
throw new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_WorkflowLoadDeserializationFailed));
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (39)
143
throw new
WorkflowMarkupSerializationException
(xmlException.Message, xmlException, xmlException.LineNumber, xmlException.LinePosition);
292
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
407
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
540
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
583
throw new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerStackOverflow, obj.ToString(), obj.GetType().FullName), 0, 0);
610
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
617
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNotAvailableForSerialize, obj.GetType().FullName)));
627
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
710
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
846
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerPropertyGetFailed, new object[] { propertyName, obj.GetType().FullName, e.Message })));
883
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
889
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNotAvailableForSerialize, propertyValueType.FullName)));
933
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNoSerializeLogic, new object[] { propertyName, obj.GetType().FullName }), e));
948
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
985
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerPropertyGetFailed, propertyName, ownerType.FullName, e.Message)));
1009
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNotAvailableForSerialize, propertyValue.GetType().FullName)));
1025
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNotAvailableForSerialize, contents.GetType())));
1076
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNotAvailableForSerialize, childObj2.GetType())));
1100
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
1111
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e));
1495
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_MissingCLRProperty, dependencyProperty.Name, obj.GetType().FullName)));
1589
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_MissingAddHandler, dependencyProperty.Name, dependencyProperty.OwnerType.FullName)));
1612
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_MissingSetAccessor, dependencyProperty.Name, dependencyProperty.OwnerType.FullName)));
1675
return new
WorkflowMarkupSerializationException
(errorMsg, xmlLineInfo.LineNumber, xmlLineInfo.LinePosition);
1677
return new
WorkflowMarkupSerializationException
(errorMsg, 0, 0);
1899
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerComplexPropertySetFailed, new object[] { propertyName, propertyName, obj.GetType().Name })));
2938
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e));
2943
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerNotAvailableForSerialize, this.contentProperty.PropertyType.FullName)));
2961
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e));
3002
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[i].LineNumber, contents[i].LinePosition));
3012
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_ContentPropertyCanNotBeNull, this.contentProperty.Name, this.parentObject.GetType().FullName)));
3028
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[i].LineNumber, contents[i].LinePosition));
3035
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_ContentPropertyNoSetter, this.contentProperty.Name, this.parentObject.GetType()), contents[0].LineNumber, contents[0].LinePosition));
3040
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_ContentPropertyNoMultipleContents, this.contentProperty.Name, this.parentObject.GetType()), contents[1].LineNumber, contents[1].LinePosition));
3052
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[0].LineNumber, contents[0].LinePosition));
3059
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_ContentCanNotBeConverted, content as string, contentProperty.Name, this.parentObject.GetType().FullName, this.contentProperty.PropertyType.FullName), contents[0].LineNumber, contents[0].LinePosition));
3063
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_ContentPropertyValueInvalid, content.GetType(), this.contentProperty.Name, this.contentProperty.PropertyType.FullName), contents[0].LineNumber, contents[0].LinePosition));
3078
this.serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[0].LineNumber, contents[0].LinePosition));
3098
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(SR.GetString(SR.Error_ContentPropertyCouldNotBeFound, contentPropertyName, parentObject.GetType().FullName)));
Shared\XomlSerializationHelpers.cs (2)
119
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"), new object[] { StandardXomlKeys.Definitions_XmlNs_Prefix, reader.LocalName, StandardXomlKeys.Definitions_XmlNs }), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1));
150
serializationManager.ReportError(new
WorkflowMarkupSerializationException
(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"), StandardXomlKeys.Definitions_XmlNs_Prefix, reader.LocalName, StandardXomlKeys.Definitions_XmlNs), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1));
11 references to WorkflowMarkupSerializationException
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\XomlCompiler.cs (3)
1056
if (error is
WorkflowMarkupSerializationException
)
1058
results.Errors.Add(new WorkflowCompilerError(fileName, (
WorkflowMarkupSerializationException
)error));
1069
catch (
WorkflowMarkupSerializationException
xomlSerializationException)
AuthoringOM\Compiler\XomlCompilerError.cs (1)
48
public WorkflowCompilerError(string fileName,
WorkflowMarkupSerializationException
exception)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
1659
internal static
WorkflowMarkupSerializationException
CreateSerializationError(Exception e, XmlReader reader)
1663
internal static
WorkflowMarkupSerializationException
CreateSerializationError(string message, XmlReader reader)
1667
internal static
WorkflowMarkupSerializationException
CreateSerializationError(string message, Exception e, XmlReader reader)
System.Workflow.Runtime (2)
Hosting\DefaultWorkflowLoaderService.cs (2)
69
if (error is
WorkflowMarkupSerializationException
)
70
errors.Add(new ValidationError(((
WorkflowMarkupSerializationException
)error).Message, ErrorNumbers.Error_SerializationError));
System.WorkflowServices (2)
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (2)
294
if (error is
WorkflowMarkupSerializationException
)
296
errors.Add(new ValidationError(((
WorkflowMarkupSerializationException
) error).Message, 1));