AdsSymbolicServer.OnRpcInvoke Method
Handler function called when an RpcInvoke occurs.
Namespace: TwinCAT.Ads.Server
Assembly: TwinCAT.Ads.SymbolicServer (in
TwinCAT.Ads.SymbolicServer.dll) Version: 6.0.328+39e3229
Syntax
C#
protected virtual AdsErrorCode OnRpcInvoke(
IInterfaceInstance structInstance,
IRpcMethod method,
Object[] values,
out Object?? returnValue
)
Parameters
structInstance |
Type: TwinCAT.TypeSystem.IInterfaceInstance |
method |
Type: TwinCAT.TypeSystem.IRpcMethod |
values |
Type: .System.Object. |
returnValue |
Type: System.Object. |
Remarks
Overwrite this method to react on RpcInvokes within your custom AdsSymbolicServer. The default implementation returns DeviceServiceNotSupported.