private static void deleteReplication(DcsClient dcsClient) { try { var deleteReplicationReq = new DeleteReplicationRequest() { NodeId = "ff80808172977c00017297d6bd2a01bc", GroupId = "97579592-6399-4d61-974b-d8b59efc0ca2", InstanceId = "975a54a5-ff73-499c-96bb-b217d69210f0" }; // Console.WriteLine(createMigrationTaskRequest.ToString()); var response = dcsClient.DeleteReplication(deleteReplicationReq); Console.WriteLine(response.GetHttpBody()); } catch (RequestTimeoutException requestTimeoutException) { Console.WriteLine(requestTimeoutException.ErrorMessage); } catch (ServiceResponseException clientRequestException) { Console.WriteLine(clientRequestException.HttpStatusCode); Console.WriteLine(clientRequestException.ErrorCode); Console.WriteLine(clientRequestException.ErrorMsg); } catch (ConnectionException connectionException) { Console.WriteLine(connectionException.ErrorMessage); } }