共用方式為


RelationshipErrorHandler Class

Definition

A class that holds information about invalid relationships in PackagePart instances.

public abstract class RelationshipErrorHandler
type RelationshipErrorHandler = class
Public MustInherit Class RelationshipErrorHandler
Inheritance
RelationshipErrorHandler

Constructors

RelationshipErrorHandler()

Methods

CreateRewriterFactory(RelationshipErrorHandler+Rewriter)

Create a RelationshipErrorHandler that simply rewrites the invalid target Uri.

OnPackageLoaded()

Callback for after a package has been completely loaded and all rewritting has occurred.

Rewrite(Uri, String, String)

Rewrites an invalid URI with a valid one in order to correctly open a package.

Applies to