DlmsProtocolInvokeMethod(DlmsObject, SByte, String, DlmsType, 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,
sbyte methodId,
string methodDescription,
DlmsType invocationParameters,
out DlmsActionResponse result,
CancellationToken cancellationToken,
bool broadcast = false
)
Parameters
- obj DlmsObject
- methodId SByte
- methodDescription String
- invocationParameters DlmsType
- result DlmsActionResponse
- cancellationToken CancellationToken
- broadcast Boolean (Optional)
-
Indicates if broadcast transfer should be used, i.e. no response is expected. If block or with-list transfer is needed, exception is thrown.