DataMigrationCmdlet.ReturnApiErrorMessage(ApiErrorException) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper method to return the error message of an ApiErrorException
public static string ReturnApiErrorMessage (Microsoft.Azure.Management.DataMigration.Models.ApiErrorException ex);
static member ReturnApiErrorMessage : Microsoft.Azure.Management.DataMigration.Models.ApiErrorException -> string
Public Shared Function ReturnApiErrorMessage (ex As ApiErrorException) As String
Parameters
the ApiErrorException for which to return the message
Returns
Error message of an ApiErrorException