El método '{0}' tiene el parámetro '{1}' con System.Runtime.InteropServices.InAttribute o System.Runtime.InteropServices.OutAttribute. ...

El método '{0}' tiene el parámetro '{1}' con System.Runtime.InteropServices.InAttribute o System.Runtime.InteropServices.OutAttribute. Windows en tiempo de ejecución solo admite marcar los parámetros ByRef con System.Runtime.InteropServices.OutAttribute y no admite otros usos de estos atributos.