func (c *Client) listNextResults(ctx context.Context, lastResults compute.VirtualMachineListResult) (result compute.VirtualMachineListResult, err error) {
	req, err := c.vmListResultPreparer(ctx, lastResults)
	if err != nil {
		return result, autorest.NewErrorWithError(err, "vmclient", "listNextResults", nil, "Failure preparing next results request")
	}
	if req == nil {
		return
	}

	resp, rerr := c.armClient.Send(ctx, req)
	defer c.armClient.CloseResponse(ctx, resp)
	if rerr != nil {
		result.Response = autorest.Response{Response: resp}
		return result, autorest.NewErrorWithError(rerr.Error(), "vmclient", "listNextResults", resp, "Failure sending next results request")
	}

	result, err = c.listResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "vmclient", "listNextResults", resp, "Failure responding to next results request")
	}

	return
}
// listNextResults retrieves the next set of results, if any.
listNextResults retrieves the next set of results, if any.
// listNextResults retrieves the next set of results if any .
func (c *Client) listNextResults(ctx context.Context, lastResults compute.VirtualMachineListResult) (result compute.VirtualMachineListResult, err error) {
	req, err := c.vmListResultPreparer(ctx, lastResults)
	if err != nil {
		return result, autorest.NewErrorWithError(err, "vmclient", "listNextResults", nil, "Failure preparing next results request")
	}
	if req == nil {
		return
	}
	resp, rerr := c.armClient.Send(ctx, req)
	defer c.armClient.CloseResponse(ctx, resp)
	if rerr != nil {
		result.Response = autorest.Response{Response: resp}
		return result, autorest.NewErrorWithError(rerr.Error(), "vmclient", "listNextResults", resp, "Failure sending next results request")
	}
	result, err = c.listResponder(resp)
	if err != nil {
		err = autorest.NewErrorWithError(err, "vmclient", "listNextResults", resp, "Failure responding to next results request")
	}
	return
}
func ( c * Client ) listNextResults ( ctx context . Context , lastResults compute . VirtualMachineListResult ) ( result compute . VirtualMachineListResult , err error ) { req , err := c . vmListResultPreparer ( ctx , lastResults ) if err != nil { return result , autorest . NewErrorWithError ( err , " " , " " , nil , " " ) } if req == nil { return } resp , rerr := c . armClient . Send ( ctx , req ) defer c . armClient . CloseResponse ( ctx , resp ) if rerr != nil { result . Response = autorest . Response { Response : resp } return result , autorest . NewErrorWithError ( rerr . Error ( ) , " " , " " , resp , " " ) } result , err = c . listResponder ( resp ) if err != nil { err = autorest . NewErrorWithError ( err , " " , " " , resp , " " ) } return }
listNextResults retrieves the next set of results, if any.
listNextResults retrieves the next set of results if any .