OPC Studio User's Guide and Reference
DisposeGuardNotNull Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > DisposableObject Class : DisposeGuardNotNull Method
Invokes the specified function returning a not-null value if the object is not disposed, throwing an exception otherwise.
Overload List
OverloadDescription
Invokes the specified function returning a not-null value if the object is not disposed, throwing an exception otherwise.  
Invokes the specified function returning a not-null value if the object is not disposed, optionally throwing an exception otherwise.  
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also