also your code
Using TS As New TaskService()
If TS.FindTask("MyTaskNameHere") = Nothing Then
' You don't have that task
End If
End Using
the = says its on a declared type in your DLL.