API Reference
OfficePackageSecurityRule
Identifies a package security rule.
Inheritance
- Enum
- OfficePackageSecurityRule
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficePackageSecurityException.Rule
- Property OfficePackageSecurityFinding.Rule
- Field OfficePackageSecurityRule.ActiveX
- Field OfficePackageSecurityRule.CompressionRatio
- Field OfficePackageSecurityRule.DuplicatePartName
- Field OfficePackageSecurityRule.EmbeddedPayloads
- Field OfficePackageSecurityRule.ExternalRelationships
- Field OfficePackageSecurityRule.Macros
- Field OfficePackageSecurityRule.MalformedPackage
- Field OfficePackageSecurityRule.MalformedRelationship
- Field OfficePackageSecurityRule.PackageSize
- Field OfficePackageSecurityRule.PartCount
- Field OfficePackageSecurityRule.PartSize
- Field OfficePackageSecurityRule.TotalUncompressedSize
- Field OfficePackageSecurityRule.UnsafePartName
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Int32Parameters
- target Object
public override sealed String ToString(IFormatProvider provider) #StringObsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider
public override sealed String ToString(String format, IFormatProvider provider) #StringObsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
- provider IFormatProvider
Values
public const OfficePackageSecurityRule PackageSize #The complete source exceeds the configured byte limit.
0public const OfficePackageSecurityRule PartCount #The package contains more parts than allowed.
1public const OfficePackageSecurityRule PartSize #An individual uncompressed part exceeds the configured byte limit.
2public const OfficePackageSecurityRule TotalUncompressedSize #The sum of uncompressed part sizes exceeds the configured byte limit.
3public const OfficePackageSecurityRule CompressionRatio #A ZIP part exceeds the configured compression ratio.
4public const OfficePackageSecurityRule DuplicatePartName #The ZIP contains ambiguous duplicate part names.
5public const OfficePackageSecurityRule UnsafePartName #A ZIP part name is absolute, traverses a parent, or otherwise has an unsafe shape.
6public const OfficePackageSecurityRule MalformedRelationship #A relationship part could not be parsed safely.
7public const OfficePackageSecurityRule Macros #The package contains a VBA project while macro content is rejected.
8public const OfficePackageSecurityRule EmbeddedPayloads #The package contains an embedded payload while embedded content is rejected.
9public const OfficePackageSecurityRule ActiveX #The package contains ActiveX content while ActiveX is rejected.
10public const OfficePackageSecurityRule ExternalRelationships #The package contains external relationships while external targets are rejected.
11public const OfficePackageSecurityRule MalformedPackage #The ZIP or compound container is malformed.
12