Compartilhar via


RelationshipErrorHandler.CreateRewriterFactory Método

Definição

Crie um RelationshipErrorHandler que simplesmente reescreva o Uri de destino inválido.

public static Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage,DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler> CreateRewriterFactory (DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler.Rewriter rewriter);
static member CreateRewriterFactory : DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler.Rewriter -> Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage, DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler>
Public Shared Function CreateRewriterFactory (rewriter As RelationshipErrorHandler.Rewriter) As Func(Of OpenXmlPackage, RelationshipErrorHandler)

Parâmetros

rewriter
RelationshipErrorHandler.Rewriter

O delegado usado para reescrever o Uri.

Retornos

Uma função de fábrica para uso em RelationshipErrorHandlerFactory.

Aplica-se a