API Reference
Class
EmailHtmlDataInspector
Optional HTML adapter over EmailDataArtifact and the existing HTML/content-safety engines.
Inheritance
- Object
- EmailHtmlDataInspector
Methods
Inspect 2 overloads
public static EmailHtmlDataInspectionReport Inspect(String path, EmailDataInspectionOptions? options = null, Int32 maxHtmlCharacters = 1000000, CancellationToken cancellationToken = default) #Returns:
EmailHtmlDataInspectionReportOpens once, inspects bounded metadata and original HTML, then closes resources. No network or mutation occurs.
Parameters
- path System.String
- options OfficeIMO.Email.Data.EmailDataInspectionOptions? = null
- maxHtmlCharacters System.Int32 = 1000000
- cancellationToken System.Threading.CancellationToken = default
public static EmailHtmlDataInspectionReport Inspect(EmailDataOpenResult opened, EmailDataInspectionOptions? options = null, Int32 maxHtmlCharacters = 1000000, CancellationToken cancellationToken = default) #Returns:
EmailHtmlDataInspectionReportInspects an existing artifact without disposing it. The original body and attachment streams are left intact.
Parameters
- opened OfficeIMO.Email.Data.EmailDataOpenResult
- options OfficeIMO.Email.Data.EmailDataInspectionOptions? = null
- maxHtmlCharacters System.Int32 = 1000000
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?