DataMigrationCmdlet.ThrowAppropriateException 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 throw the appropriate exception based on the error returned by the SDK
protected void ThrowAppropriateException (Microsoft.Azure.Management.DataMigration.Models.ApiErrorException ex, System.Collections.Generic.List<string> customObjects = default);
member this.ThrowAppropriateException : Microsoft.Azure.Management.DataMigration.Models.ApiErrorException * System.Collections.Generic.List<string> -> unit
Protected Sub ThrowAppropriateException (ex As ApiErrorException, Optional customObjects As List(Of String) = Nothing)