The use of [Optional] attributes for each value causes an ambiguous overload error when using new TaskService("Name").
If SecureString is desired then all ctor arguments are mandatory, this change causes selection of the original ctor if these values are not expressly provided.
The use of
[Optional]
attributes for each value causes an ambiguous overload error when usingnew TaskService("Name")
.If SecureString is desired then all ctor arguments are mandatory, this change causes selection of the original ctor if these values are not expressly provided.