API Reference
Enum
OversizePolicy
Policy for handling oversized files in OversizePolicy).
Inheritance
- Enum
- OversizePolicy
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
- Field OversizePolicy.ReturnEmpty
- Field OversizePolicy.Throw
Accepted by parameters
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const OversizePolicy Throw #Throw an exception when the file exceeds the limit. Use for user-supplied inputs where strict validation is desired.
Value:
0public const OversizePolicy ReturnEmpty #Return an empty string when the file exceeds the limit (caller can treat as "skip"). Use for best-effort enrichment paths (e.g., large logs) to avoid pipeline failure.
Value:
1