Method WithNativeDisableContainerSafetyRestriction
WithNativeDisableContainerSafetyRestriction<TDescription, TCapturedVariableType>(TDescription, TCapturedVariableType)
Disable safety checks for a given captured variable that stores a native container. This will allow some jobs to run that wouldn't otherwise, but it does by-pass the safety system for this container.
Declaration
public static TDescription WithNativeDisableContainerSafetyRestriction<TDescription, TCapturedVariableType>(this TDescription description, TCapturedVariableType capturedVariable) where TDescription : ILambdaJobDescription
Parameters
Type | Name | Description |
---|---|---|
TDescription | description | The target object |
TCapturedVariableType | capturedVariable | Captured variable that stores a NativeContainer |
Returns
Type | Description |
---|---|
TDescription | The target object, suitable for chaining multiple methods |
Type Parameters
Name | Description |
---|---|
TDescription | Type of target object |
TCapturedVariableType | Type of captured variable |