DlmsProtocolInvokeMethod(DlmsObject, DlmsMethodInfo, DlmsActionResponse, CancellationToken, Boolean) Method
Invokes a method of a DLMS object.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Protocols.Dlms (in OddPrg.Protocols.Dlms.dll) Version: 2.0.0.13 (2.0.0.13)
public void InvokeMethod(
DlmsObject obj,
DlmsMethodInfo methodInfo,
out DlmsActionResponse result,
CancellationToken cancellationToken,
bool broadcast = false
)
Parameters
- obj DlmsObject
- methodInfo DlmsMethodInfo
- Invocation information including method identifier and optionally invocation paremeters.
- result DlmsActionResponse
- cancellationToken CancellationToken
- broadcast Boolean (Optional)
-
Indicates if broadcast transfer will be used, i.e. no response is expected. If block or with-list transfer is needed, exception is thrown.