Share via


OpenSettings.RelationshipErrorHandlerFactory Property

Definition

Gets or sets a delegate that is used to create a handler to rewrite relationships that are malformed. On platforms after .NET 4.5, Uri parsing will fail on malformed strings.

public Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage,DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler> RelationshipErrorHandlerFactory { get; set; }
public Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage,DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler>? RelationshipErrorHandlerFactory { get; set; }
member this.RelationshipErrorHandlerFactory : Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage, DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler> with get, set
Public Property RelationshipErrorHandlerFactory As Func(Of OpenXmlPackage, RelationshipErrorHandler)

Property Value

Applies to