ServiceFabricCommonCmdletBase.SafeGetResource<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
protected T SafeGetResource<T> (Func<T> action, bool ingoreAllError = false);
member this.SafeGetResource : Func<'T> * bool -> 'T
Protected Function SafeGetResource(Of T) (action As Func(Of T), Optional ingoreAllError As Boolean = false) As T
Type Parameters
- T
Parameters
- action
- Func<T>
- ingoreAllError
- Boolean
Returns
T