The DiagnosticsMasks property on the SessionParameters allows the developer to specify the types of vendor-specific diagnostics to be returned by the OPC-UA server in the responses. The information from the server responses is then made available in the Diagnostics collection of OperationResult and EasyDataChangeNotificationEventArgs objects.