profileId | ID of created profile. |
Creates a new profile with the given profile ID.
Throws ArgumentNullException
if profileId
is null
. Throws ArgumentException
if profileId
is invalid. Throws ArgumentException
if profileId
is not unique, i.e. when GetAvailableProfileIds contains profileId
.